autospec: fix parsing of multi-string arguments

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-13 21:59:40 +01:00
parent 97552d02b8
commit badca703f0
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,12 @@
Changes in version 1.14.3
--- Nov -- 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* autospec - Davide Madrisan:
Fix parsing of multi-string arguments.
-------------------------------------------------------------------------------
Changes in version 1.14.2
Mon Nov 12 2012 Davide Madrisan <davide.madrisan(a)gmail.com>

View File

@ -112,8 +112,9 @@ function read_arg() {
fi
}
args=($@)
args=()
while (($# > 0)); do
args[${#args[*]}]="$1"
case ${1%%=*} in
-u|--update)
let "pck_update = 1" ;;