mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-26 21:58:27 +01:00
Safer config sourcing.
Guards against accidents/typos in the config.
This commit is contained in:
parent
88bb400532
commit
969f650ff1
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ SOURCE=$(sed -n '
|
||||||
\@^local://@p
|
\@^local://@p
|
||||||
\@^https\{0,1\}://@p
|
\@^https\{0,1\}://@p
|
||||||
\@^ftps\{0,1\}://@p' $CONF/mirrors)
|
\@^ftps\{0,1\}://@p' $CONF/mirrors)
|
||||||
. $CONF/slackpkg.conf
|
PATH='' builtin source $CONF/slackpkg.conf
|
||||||
WORKDIR=${ROOT}/${WORKDIR}
|
WORKDIR=${ROOT}/${WORKDIR}
|
||||||
ERROR=""
|
ERROR=""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue