summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-07-24 14:53:40 +0000
committer Eric Hameleers <alien@slackware.com>2007-07-24 14:53:40 +0000
commita058655f43101323c4928922ab07c0d7c88c5fec (patch)
treed0dd6d70d7779ed13ea337ee27a1ea51defb5cff
parent2ca80f0cd2fd208af0cfa5f5d144f67c3710ae80 (diff)
downloadasb-a058655f43101323c4928922ab07c0d7c88c5fec.tar.gz
asb-a058655f43101323c4928922ab07c0d7c88c5fec.tar.xz
Slight fix, added a little more text to the changelog
-rwxr-xr-xrt2500/build/rt2500.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/rt2500/build/rt2500.SlackBuild b/rt2500/build/rt2500.SlackBuild
index 4c7d6189..db3a7a3c 100755
--- a/rt2500/build/rt2500.SlackBuild
+++ b/rt2500/build/rt2500.SlackBuild
@@ -50,7 +50,9 @@
# * Added some leftover DOC files, many edits in the SlackBuild.
# 20070724-1: 24/jul/2007 by Eric Hameleers <alien@slackware.com>
# * Using CVS version for Slackware 12.0 kernel support.
-# The configuration is no longer built.
+# The configuration utility is no longer built. The script will
+# use the variable USE_CVS to determine whether a stable or CVS
+# source tarball should be used.
#
# Run 'sh rt2500.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -174,8 +176,6 @@ if [ "$P1" == "--download" ]; then
exit 0
fi
-VERSION=$(tar -tf $SOURCE | head -1 | cut -d- -f3 | cut -c 1-8)
-
# --- PACKAGE BUILDING ---
echo "++"
@@ -188,6 +188,9 @@ tar -xvf ${SOURCE}
if [ -d ${PRGNAM}-${SRCVER} ]; then
mv ${PRGNAM}-${SRCVER} ${PRGNAM}-${VERSION}
else
+ echo -n "Changing VERSION from '$VERSION' to "
+ VERSION=$(tar -tf $SOURCE | head -1 | cut -d- -f3 | cut -c 1-8)
+ echo "'$VERSION'"
mv ${PRGNAM}-cvs-${VERSION}* ${PRGNAM}-${VERSION}
fi
cd ${PRGNAM}-${VERSION}