autospec: fix parsing of multi-string arguments
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
97552d02b8
commit
badca703f0
@ -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
|
Changes in version 1.14.2
|
||||||
Mon Nov 12 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
Mon Nov 12 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||||
|
|
||||||
|
@ -112,8 +112,9 @@ function read_arg() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
args=($@)
|
args=()
|
||||||
while (($# > 0)); do
|
while (($# > 0)); do
|
||||||
|
args[${#args[*]}]="$1"
|
||||||
case ${1%%=*} in
|
case ${1%%=*} in
|
||||||
-u|--update)
|
-u|--update)
|
||||||
let "pck_update = 1" ;;
|
let "pck_update = 1" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user