development/git-lfs: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2022-06-11 13:13:44 +07:00
parent 89ca5074fe
commit 96a05c1875
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -75,6 +72,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-linux-$SRCARCH-v$VERSION.tar.gz
cd $PRGNAM-$VERSION
mkdir -p $PKG/usr/bin
install -m0755 $PRGNAM $PKG/usr/bin