mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03: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
@ -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 New Issue
Block a user