mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
misc/cheat: Remove hard-coded GOROOT path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ada6ce81ca
commit
77a23c4a7b
1 changed files with 0 additions and 9 deletions
|
@ -38,15 +38,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
|
|
||||||
export LIBDIRSUFFIX="64"
|
|
||||||
export GOROOT="/usr/lib${LIBDIRSUFFIX}/go1.22.5/go"
|
|
||||||
export PATH="${GOROOT}/bin:${PATH}"
|
|
||||||
else
|
|
||||||
export GOROOT="/usr/lib/go1.22.5/go"
|
|
||||||
export PATH="${GOROOT}/bin:${PATH}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue