summaryrefslogtreecommitdiffstats
path: root/system/newLd/newLd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/newLd/newLd.SlackBuild')
-rw-r--r--system/newLd/newLd.SlackBuild13
1 files changed, 1 insertions, 12 deletions
diff --git a/system/newLd/newLd.SlackBuild b/system/newLd/newLd.SlackBuild
index 26698158f8..b518b875fb 100644
--- a/system/newLd/newLd.SlackBuild
+++ b/system/newLd/newLd.SlackBuild
@@ -44,15 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# Not yet in slackbuilds
-## 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.txz"
-# exit 0
-#fi
-
# Set to ld.gold or ld.bfd:
DEFAULT_LD=ld.bfd
@@ -87,9 +78,6 @@ esac
set -e
-# 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
@@ -97,6 +85,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG