kde-improvements/gen.sh

glen cvs at pld-linux.org
Fri Jun 9 18:09:43 CEST 2006


Author: glen
Date: Fri Jun  9 18:09:42 2006
New Revision: 7475

Modified:
   kde-improvements/gen.sh
Log:
- add Usage

Modified: kde-improvements/gen.sh
==============================================================================
--- kde-improvements/gen.sh	(original)
+++ kde-improvements/gen.sh	Fri Jun  9 18:09:42 2006
@@ -1,5 +1,10 @@
 #!/bin/sh
 i="${1}"
+if [ -z "$i" ]; then
+	echo >&2 "Usage: $0 DIR"
+	exit 1
+fi
+
 cd ${i}
 rm -fr *~
 `which tar` cfj ../kdebase-${i}.tar.bz2 ./*.*


More information about the pld-cvs-commit mailing list