diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-30 16:12:37 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-30 16:12:37 -0500 |
commit | b9dbed0ae6709351dd244c87581c2d558a9d129f (patch) | |
tree | 665a9975c79c2e17498351d41456714a370d9140 /src/chroot-tools | |
parent | a7b7e36af2ca02449770cb77c5f017d638872d8e (diff) |
libremakepkg: fix bug in makepkg_conf_get
Diffstat (limited to 'src/chroot-tools')
-rwxr-xr-x | src/chroot-tools/libremakepkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index f06bb17..deb26b2 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -65,7 +65,7 @@ makepkg_conf_get() { if [[ -z ${!setting:-} ]]; then eval $(grep "^$setting=" "/etc/makepkg.conf") fi - if [[ -z ${!setting:-} && -n ${2} ]]; then + if [[ -z ${!setting:-} && -n ${2:-} ]]; then eval "$setting='$2'" fi } |