diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2009-09-22 09:53:37 +0200 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2009-09-22 09:53:37 +0200 |
commit | 3ee94007836c3856950b576dc8ac36a6c957c210 (patch) | |
tree | eee95e4031b3b5f842e36940a1b9ddddf6cadf70 /src/med-xpi-pack | |
parent | ec63801bfbedf2d71623400c6fc21d4b532cd278 (diff) |
- replace \n in echo commands with an extra empty echo command to avoid
bashism (Closes: #547755)
- update src/med-xpi-pack
- update src/med-xpi-unpack
Diffstat (limited to 'src/med-xpi-pack')
-rwxr-xr-x | src/med-xpi-pack | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/med-xpi-pack b/src/med-xpi-pack index 9d3e433..8abfb69 100755 --- a/src/med-xpi-pack +++ b/src/med-xpi-pack @@ -27,31 +27,37 @@ INDIR=$1; XPIFILE=$2; usage() { - echo "med-xpi-pack - Script to produce XPI file from input directory.\n"; + echo "med-xpi-pack - Script to produce XPI file from input directory." + echo echo "The output XPI file is placed in top-level of the input directory."; echo "To place it somewhere else, provide relative or absolute path to the"; - echo "output XPI file.\n" + echo "output XPI file." + echo echo "To run it call:"; - echo "$ med-xpi-pack input_directory output_xpi_file\n"; + echo "$ med-xpi-pack input_directory output_xpi_file" + echo echo " input_directory - directory with the XPI source tree"; echo " output_xpi_file - name of the produced file"; exit 1; } if [ "$1" = "--help" -o "$1" = "-h" ] ; then - usage; + usage fi; if [ -z $INDIR ] ; then - echo "Missing input directory.\n"; + echo "Missing input directory." + echo usage; fi; if [ -z $XPIFILE ] ; then - echo "Missing XPI name.\n"; + echo "Missing XPI name." + echo usage; fi; if [ ! -d $INDIR ] ; then - echo "E: Input directory doesn't exist.\n"; + echo "E: Input directory doesn't exist." + echo usage; fi; |