mirror of
https://github.com/sbopkg/sbopkg
synced 2025-01-16 03:41:32 +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
|
# Extract the new package version
|
||||||
if [[ ! -z $NEWSB ]]; then
|
if [[ ! -z $NEWSB ]]; then
|
||||||
|
unset ARCH BUILD
|
||||||
eval NEW$(grep -m1 ^ARCH= $NEWSB)
|
eval NEW$(grep -m1 ^ARCH= $NEWSB)
|
||||||
eval NEW$(grep -m1 ^BUILD= $NEWSB)
|
eval NEW$(grep -m1 ^BUILD= $NEWSB)
|
||||||
[[ -z $NEWARCH ]] && NEWARCH=unknown
|
[[ -z $NEWARCH ]] && NEWARCH=unknown
|
||||||
|
@ -3640,6 +3641,7 @@ process_queue() {
|
||||||
rm -f $PKGPATH/$CHKBUILD*.build
|
rm -f $PKGPATH/$CHKBUILD*.build
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
unset BUILD
|
||||||
eval $(grep -m1 "^BUILD" $PKGPATH/$CHKBUILD.SlackBuild.build)
|
eval $(grep -m1 "^BUILD" $PKGPATH/$CHKBUILD.SlackBuild.build)
|
||||||
echo " Using $PICKFILE SlackBuild file" >> $TMPLOG-files
|
echo " Using $PICKFILE SlackBuild file" >> $TMPLOG-files
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue