From bf8b212a24487e9184c2ee37b532d2fc130eba6f Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 22 Jul 2007 21:13:17 +0000 Subject: [PATCH] 2007-07-22 21:13:05 by steve Patch [1/2] from Andrew Sutherland - Integer fixups for dash. --- AUTHORS | 3 +++ hooks/centos-4/90-make-fstab | 2 +- hooks/centos-5/90-make-fstab | 2 +- hooks/dapper/90-make-fstab | 2 +- hooks/debian/90-make-fstab | 2 +- hooks/edgy/90-make-fstab | 2 +- hooks/fedora-core-6/90-make-fstab | 2 +- hooks/gentoo/90-make-fstab | 2 +- 8 files changed, 10 insertions(+), 7 deletions(-) diff --git a/AUTHORS b/AUTHORS index 7c2ea48..dc665db 100644 --- a/AUTHORS +++ b/AUTHORS @@ -52,6 +52,9 @@ Contributions Henning Sprang - Many suggestions and useful Debian bug reports. + Andrew Sutherland + - Fixups for dash/Ubuntu. + Gergely Tamas - Added patch to make initrd setup optional. diff --git a/hooks/centos-4/90-make-fstab b/hooks/centos-4/90-make-fstab index 841fd33..81201c7 100755 --- a/hooks/centos-4/90-make-fstab +++ b/hooks/centos-4/90-make-fstab @@ -59,7 +59,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}" diff --git a/hooks/centos-5/90-make-fstab b/hooks/centos-5/90-make-fstab index 841fd33..81201c7 100755 --- a/hooks/centos-5/90-make-fstab +++ b/hooks/centos-5/90-make-fstab @@ -59,7 +59,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}" diff --git a/hooks/dapper/90-make-fstab b/hooks/dapper/90-make-fstab index 9efa5fd..6131a52 100755 --- a/hooks/dapper/90-make-fstab +++ b/hooks/dapper/90-make-fstab @@ -56,7 +56,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}" diff --git a/hooks/debian/90-make-fstab b/hooks/debian/90-make-fstab index c8c71b6..a3c9fff 100755 --- a/hooks/debian/90-make-fstab +++ b/hooks/debian/90-make-fstab @@ -55,7 +55,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}" diff --git a/hooks/edgy/90-make-fstab b/hooks/edgy/90-make-fstab index 9efa5fd..6131a52 100755 --- a/hooks/edgy/90-make-fstab +++ b/hooks/edgy/90-make-fstab @@ -56,7 +56,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}" diff --git a/hooks/fedora-core-6/90-make-fstab b/hooks/fedora-core-6/90-make-fstab index 841fd33..81201c7 100755 --- a/hooks/fedora-core-6/90-make-fstab +++ b/hooks/fedora-core-6/90-make-fstab @@ -59,7 +59,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}" diff --git a/hooks/gentoo/90-make-fstab b/hooks/gentoo/90-make-fstab index 77bbe47..1c5d5f7 100755 --- a/hooks/gentoo/90-make-fstab +++ b/hooks/gentoo/90-make-fstab @@ -56,7 +56,7 @@ for part in `seq 1 ${NUMPARTITIONS}`; do x=0 for partdata in ${PARTITION}; do eval "partdata${x}=\"${partdata}\"" - x=$(( x+1 )) + x=$(( $x+1 )) done IFS="${OLDIFS}"