diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-04-05 05:10:23 +0000 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2021-04-05 05:10:23 +0000 |
commit | 969f650ff1c1987c40347f15ce0f4fca66c6db12 (patch) | |
tree | 0661221524512fa6da0de73240f92ff166793bb8 | |
parent | 88bb40053273c50a5b6ba9c287b9af3408b1bec5 (diff) | |
download | slackpkg-969f650ff1c1987c40347f15ce0f4fca66c6db12.tar.xz |
Safer config sourcing.
Guards against accidents/typos in the config.
-rw-r--r-- | files/slackpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/slackpkg b/files/slackpkg index 213263c..1076ba3 100644 --- a/files/slackpkg +++ b/files/slackpkg @@ -70,7 +70,7 @@ SOURCE=$(sed -n ' \@^local://@p \@^https\{0,1\}://@p \@^ftps\{0,1\}://@p' $CONF/mirrors) -. $CONF/slackpkg.conf +PATH='' builtin source $CONF/slackpkg.conf WORKDIR=${ROOT}/${WORKDIR} ERROR="" |