amend for sarge
authorThorsten Glaser <t.glaser@tarent.de>
Mon, 30 Dec 2013 15:42:03 +0000 (16:42 +0100)
committerThorsten Glaser <t.glaser@tarent.de>
Mon, 30 Dec 2013 15:42:03 +0000 (16:42 +0100)
TODO: use linux32/linux64 and --uname-2.6 automatically depending on DIST

mksh/debian-dev/c

index fb844ca..5761591 100644 (file)
 # c lenny/i386 DEB_BUILD_OPTIONS=parallel=4 linux32 --build foo*.dsc
 
 unset LANGUAGE
-set -A cmd eatmydata env "DIST=$1" LANG=C LC_CTYPE=C LC_NUMERIC=C \
+eatmydata=eatmydata
+case $1 {
+(sarge|sarge/i386)
+       eatmydata=
+       ;;
+}
+set -A cmd $eatmydata env "DIST=$1" LANG=C LC_CTYPE=C LC_NUMERIC=C \
     LC_TIME=C LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C LC_PAPER=C \
     LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C \
     LC_IDENTIFICATION=C LC_ALL=C