diff options
Diffstat (limited to 'main/alpine-conf/setup-disk-fix.patch')
-rw-r--r-- | main/alpine-conf/setup-disk-fix.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/alpine-conf/setup-disk-fix.patch b/main/alpine-conf/setup-disk-fix.patch new file mode 100644 index 0000000000..2fa7aec461 --- /dev/null +++ b/main/alpine-conf/setup-disk-fix.patch @@ -0,0 +1,19 @@ +commit e149170d4736017c76b09625fa9a4b6a90b5e3a3 +Author: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed May 26 13:59:25 2010 +0000 + + setup-disk: fix typo in the option handling + +diff --git a/setup-disk.in b/setup-disk.in +index 7a485b8..aa4a92f 100644 +--- a/setup-disk.in ++++ b/setup-disk.in +@@ -401,7 +401,7 @@ while getopts "hk:o:r" opt; do + *) usage;; + esac + done +-shift $(( OPTIND - 1)) ++shift $(( $OPTIND - 1)) + + if [ -d "$1" ]; then + # install to given mounted root |