~elementary-os/contractor/elementary-contracts

« back to all changes in this revision

Viewing changes to debug/debug-contract

  • Committer: Cody Garver
  • Date: 2013-04-23 08:49:30 UTC
  • Revision ID: cody@elementaryos.org-20130423084930-cb8zmztupm7rizs4
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
case "$1" in
 
4
--single-file)
 
5
    title="Called debug contract that accepts a single file"
 
6
    ;;
 
7
--multiple-files)
 
8
    title="Called debug contract that accepts multiple files"
 
9
    ;;
 
10
--single-uri)
 
11
    title="Called debug contract that accepts a single URI"
 
12
    ;;
 
13
--multiple-uris)
 
14
    title="Called debug contract that accepts multiple URIs"
 
15
    ;;
 
16
*)
 
17
    title="$1"
 
18
    ;;
 
19
esac
 
20
shift
 
21
 
 
22
content=''
 
23
while [ "x$1" != "x" ]; do
 
24
content="$content
 
25
$1"
 
26
shift
 
27
done
 
28
 
 
29
zenity --info --no-markup --no-wrap --text="$content" --title="$title"