summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-01-08 19:58:31 +0000
committer Eric Hameleers <alien@slackware.com>2007-01-08 19:58:31 +0000
commit90a89c6cdb34ecec90498da787f7b267bfada2db (patch)
treef0c8d4f469f6ad8520705b553f862ede04f7661c
parent9a2c017750b9fbb76453954077fc241c83a181fd (diff)
downloadasb-90a89c6cdb34ecec90498da787f7b267bfada2db.tar.gz
asb-90a89c6cdb34ecec90498da787f7b267bfada2db.tar.xz
Better error message when the CVS snapshot does not match VERSION
-rwxr-xr-xrt73/build/rt73.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/rt73/build/rt73.SlackBuild b/rt73/build/rt73.SlackBuild
index 43138bc2..117b5021 100755
--- a/rt73/build/rt73.SlackBuild
+++ b/rt73/build/rt73.SlackBuild
@@ -160,9 +160,12 @@ else
tar -xzvf ${SOURCE}
fi
if ! cd ${PRGNAM}-cvs-${VERSION}* ; then
- echo "The content of your sources '${SOURCE}' does not match the"
- echo "date '${VERSION}' of the package you're trying to build!"
- echo "Please download ${SRCURL} again!"
+ echo "**"
+ echo "** The source archive: '$(basename ${SOURCE})' contains '$(ls -d --indicator-style=none ${PRGNAM}-cvs-*)'"
+ echo "** This does not match the version '${VERSION}' of the package you're trying to build!"
+ echo "** Please remove '$(basename ${SOURCE})',"
+ echo "** and (let the script) download '${SRCURL}' again!"
+ echo "**"
exit 1
fi