[pok-devel] [4] Update file get_ocarina.sh |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
Revision: 4
Author: ozenati
Date: 2011-06-14 11:47:29 +0200 (Tue, 14 Jun 2011)
Log Message:
-----------
Update file get_ocarina.sh
Modified Paths:
--------------
trunk/misc/get_ocarina.sh
Modified: trunk/misc/get_ocarina.sh
===================================================================
--- trunk/misc/get_ocarina.sh 2011-02-02 20:04:36 UTC (rev 3)
+++ trunk/misc/get_ocarina.sh 2011-06-14 09:47:29 UTC (rev 4)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/sh -e
## get_ocarina.sh
##
## Made by Laurent Lec
@@ -7,9 +7,9 @@
## Started on Mon Jun 8 10:48:11 2009 Laurent Lec
## Last update Mon Jun 8 11:38:20 2009 Laurent Lec
##
-#! /bin/sh
-if [ $# -ne 1 -o "$1" == "-h" -o "$1" == "--help" ];
+
+if [ $# -ne 1 -o "$1" = "-h" -o "$1" = "--help" ];
then
echo "Usage: $0 [-h|--help] prefix" >&2
exit 1