SPECS: workcleanup.sh - less crude

agaran agaran at pld-linux.org
Wed Jul 26 21:36:46 CEST 2006


Author: agaran                       Date: Wed Jul 26 19:36:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- less crude

---- Files affected:
SPECS:
   workcleanup.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/workcleanup.sh
diff -u SPECS/workcleanup.sh:1.1 SPECS/workcleanup.sh:1.2
--- SPECS/workcleanup.sh:1.1	Wed Jul 26 21:35:43 2006
+++ SPECS/workcleanup.sh	Wed Jul 26 21:36:41 2006
@@ -10,6 +10,11 @@
 	exit;
 fi
 
+if [ "x$1" == x ]; then
+	echo "I need argument, preferably spec filename";
+	exit;
+fi
+
 if [ ! -e $1 ]; then
 	echo "$1 dont exist";
 	exit;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/workcleanup.sh?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list