slitaz-base-files rev 223
libtaz.sh: allow spaces in the options (example: --title="Please read this")
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 04 11:58:03 2013 +0300 (2013-09-04) |
parents | 46db9b4c3a46 |
children | 7626b79a1b31 |
files | rootfs/lib/libtaz.sh |
line diff
1.1 --- a/rootfs/lib/libtaz.sh Sat Aug 24 14:50:29 2013 +0300 1.2 +++ b/rootfs/lib/libtaz.sh Wed Sep 04 11:58:03 2013 +0300 1.3 @@ -30,7 +30,7 @@ 1.4 for opt in "$@" 1.5 do 1.6 case "$opt" in 1.7 - --*=*) export ${opt#--} ;; 1.8 + --*=*) export "${opt#--}" ;; 1.9 --*) export ${opt#--}="yes" ;; 1.10 esac 1.11 done