index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-10-16 01:58:31 -0400 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-08-09 19:40:05 +0200 |
commit | b7ce90fefc371b47c9036d36d741139a4dd8efe2 (patch) | |
tree | ee8ac8b85fb917122ec1354aaa94fcd2983f8c97 | |
parent | f52002955c9d1c0809fa31d91d398c5a1fdcee0a (diff) |
-rw-r--r-- | makechrootpkg.in | 2 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 52e834b..4ea008b 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -69,7 +69,7 @@ load_vars() { [[ -f $makepkg_conf ]] || return 1 for var in {SRC,SRCPKG,PKG,LOG}DEST MAKEFLAGS PACKAGER; do - [[ -z ${!var:-} ]] && eval "$(grep -a "^${var}=" "$makepkg_conf")" + [[ -z ${!var:-} ]] && eval "$(source "$makepkg_conf"; printf "%s='%s'" "$var" "${!var}")" done return 0 |