summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/d/slacktrack/slacktrack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/d/slacktrack/slacktrack.SlackBuild')
-rwxr-xr-xslackware64-current/source/d/slacktrack/slacktrack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/d/slacktrack/slacktrack.SlackBuild b/slackware64-current/source/d/slacktrack/slacktrack.SlackBuild
index a885794ec..7312efae3 100755
--- a/slackware64-current/source/d/slacktrack/slacktrack.SlackBuild
+++ b/slackware64-current/source/d/slacktrack/slacktrack.SlackBuild
@@ -17,7 +17,8 @@ case "$( uname -m )" in
*) export ARCH=$( uname -m )
PKGEXT=txz ;;
esac
-BUILD=$(grep BUILD= slacktrack-project/./slacktrack.SlackBuild | cut -f 2 -d - | cut -f 1 -d })
+BUILD=${BUILD:-2}
+export BUILD
# 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