sbopkg / sbopkg

Slackbuilds.org Package Browser
https://sbopkg.org/
Other
122 stars 45 forks source link

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

Closed larathbone closed 2 months ago

larathbone commented 2 months ago

I like to have my /var/lib/sbopkg/local/local/ dir be a symlink to a git repo in my home dir. This used to work, but at some point it broke in sqg.

That is: something like sqg -p some-package does not work, even if some-package.info exists in the correct hierarchy.

Adding a trailing slash to a couple of the 'find' commands in question makes it work. Adding '-H' to the find command would work as well.

willysr commented 2 months ago

Fixed with def77d0