index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2014-10-20 17:33:02 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-11-09 13:46:51 +1000 |
commit | 03aa44a3ecab8ede51d3a6a780017b59babe2965 (patch) | |
tree | 62c009140aebd89b74fbd14dfb39ecdbe22ae263 | |
parent | f77933ea1e45638d518206c839315d3feece2c01 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 86f8a773..90486767 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2385,7 +2385,7 @@ extract_global_var() { array_build ref "$attr" [[ ${ref[@]} ]] && array_build "$outputvar" "$attr" else - [[ -v $attr ]] && printf -v "$outputvar" %s "${!attr}" + [[ ${!attr} ]] && printf -v "$outputvar" %s "${!attr}" fi } |