diff options
Diffstat (limited to 'rt2500/build/rt2500.SlackBuild')
-rwxr-xr-x | rt2500/build/rt2500.SlackBuild | 9 |
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} |