mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-28 09:58:58 +01:00
commit a patch from Mauro that add an unset before an eval otherwise BUILD gets stuck once and not reset set which can show incorrect potential updates
This commit is contained in:
parent
b6cfb9f55b
commit
028971b50a
1 changed files with 2 additions and 0 deletions
|
@ -698,6 +698,7 @@ check_for_updates() {
|
|||
|
||||
# Extract the new package version
|
||||
if [[ ! -z $NEWSB ]]; then
|
||||
unset ARCH BUILD
|
||||
eval NEW$(grep -m1 ^ARCH= $NEWSB)
|
||||
eval NEW$(grep -m1 ^BUILD= $NEWSB)
|
||||
[[ -z $NEWARCH ]] && NEWARCH=unknown
|
||||
|
@ -3640,6 +3641,7 @@ process_queue() {
|
|||
rm -f $PKGPATH/$CHKBUILD*.build
|
||||
return 0
|
||||
else
|
||||
unset BUILD
|
||||
eval $(grep -m1 "^BUILD" $PKGPATH/$CHKBUILD.SlackBuild.build)
|
||||
echo " Using $PICKFILE SlackBuild file" >> $TMPLOG-files
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue