Author: pere
Date: 2007-08-04 13:03:17 +0000 (Sat, 04 Aug 2007)
New Revision: 1002

Modified:
   packages/debian-gis/build-gis-live
Log:
Fail if the target dir is missing.

Modified: packages/debian-gis/build-gis-live
===================================================================
--- packages/debian-gis/build-gis-live  2007-08-04 10:22:22 UTC (rev 1001)
+++ packages/debian-gis/build-gis-live  2007-08-04 13:03:17 UTC (rev 1002)
@@ -8,7 +8,7 @@
 # Build script for Debian Gis Live CD.
 # Based on build script for Debian Edu live CD.
 #
-# Build depends: live-helper
+# Build depends: live-helper tasksel
 #
 ##############################################################################
 
@@ -55,6 +55,11 @@
 LOGFILE=`mktemp`
 TODAY="`date +%Y%m%d%H%M`"
 
+if [ ! -d $PUBLISH_DIR ] ; then
+    msg_error "$PUBLISH_DIR does not exist, aborting."
+    exit 1
+fi
+
 #
 # check lockfile
 #


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to