SPECS: adapter - tabs and exit with error

glen glen at pld-linux.org
Sun Apr 2 03:55:27 CEST 2006


Author: glen                         Date: Sun Apr  2 01:55:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tabs and exit with error

---- Files affected:
SPECS:
   adapter (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/adapter
diff -u SPECS/adapter:1.14 SPECS/adapter:1.15
--- SPECS/adapter:1.14	Sun Apr  2 01:25:31 2006
+++ SPECS/adapter	Sun Apr  2 03:55:21 2006
@@ -28,10 +28,12 @@
 	skip %defattr corrections
 
 "
+
 if [ ! -x /usr/bin/getopt ]; then
-echo "You need to install util-linux to use adapter"
-exit 0
+	echo >&1 "You need to install util-linux to use adapter"
+	exit 1
 fi
+
 t=`getopt -o hsmda --long help,sort,sort-br,no-macros,skip-macros,skip-desc,skip-defattr -n "$self" -- "$@"` || exit $?
 eval set -- "$t"
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list