sqg: Fix 'find' command to work with symlinked REPO_DIR

Merged #92

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Logan Rathbone 2024-07-01 18:22:05 -04:00 committed by Willy Sudiarto Raharjo
parent ef0238efaf
commit def77d0e95
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 6 additions and 3 deletions

View File

@ -104,3 +104,4 @@ We moved to github, so revision number no longer used
Benjamin Trigona-Harany
ArTourter
Urchlay
Logan Rathbone

View File

@ -226,10 +226,10 @@ execute_build () {
if [ "$ALL" == "yes" ]; then
rm -f $QUEUEDIR/*.sqf
printf "Processing all SlackBuilds in the $REPO_SUBPATH repository..."
PKGSNEW=($(find "$REPO_DIR" -name "*.info" -print0 | xargs -r0))
PKGSNEW=($(find "$REPO_DIR/" -name "*.info" -print0 | xargs -r0))
else
for PKG in ${PKGS[@]}; do
INFOPATH=$(find "$REPO_DIR" -name ${PKG}.info)
INFOPATH=$(find "$REPO_DIR/" -name ${PKG}.info)
if [ -z "$INFOPATH" ]; then
echo "$PKG: Not found."

View File

@ -1,6 +1,6 @@
SBOPKG NEWS
sbopkg-devel (2024-05-21 00:31 UTC)
sbopkg-devel (2024-07-02 16:45 UTC)
MODIFICATIONS
* Update renames
* sqg: Fix repo detection when people switch from stable to master or vice versa
@ -9,6 +9,8 @@ sbopkg-devel (2024-05-21 00:31 UTC)
Reported by Jeremy Hansen
* sbopkg: Support download from sbosrcarch
Patch by Urchlay
* sqg: Fix 'find' command to work with symlinked REPO_DIR
Patch by Logan Rathbone (#92)
sbopkg 0.38.2 (2022-03-10 16:29 UTC)
FEATURES