]> arthur.barton.de Git - netatalk.git/commitdiff
Added a check for the INSTALL file.
authorsrittau <srittau>
Fri, 23 Feb 2001 20:02:12 +0000 (20:02 +0000)
committersrittau <srittau>
Fri, 23 Feb 2001 20:02:12 +0000 (20:02 +0000)
distrib/debian/cvs2deb.sh

index eeaadbf7639892d3695d402839e73455ef897399..4fb6022a7a1fddc0972aafdec808e90053da1ba6 100755 (executable)
@@ -16,6 +16,14 @@ DEBVERSION=`cat "$debiandir/VERSION"`
 DISTDIR="netatalk-$VERSION"
 DISTTGZ="netatalk_$DEBVERSION.orig.tar.gz"
 
+if test ! -f INSTALL; then
+  if test -e INSTALL; then
+    echo "INSTALL is in the way, please move it away"
+    exit 1
+  fi
+  touch INSTALL
+fi
+
 if test ! -x configure; then
   ./autogen.sh
 fi
@@ -46,4 +54,6 @@ rm    "$DISTDIR/debian/VERSION"
 
 cd "$DISTDIR" && dpkg-buildpackage -rfakeroot
 
-cd .. && rm -r "$DISTDIR"
+cd ..
+rm -r "$DISTDIR"
+rm INSTALL