aboutsummaryrefslogtreecommitdiff
path: root/net/im/silc-client/silc-client.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-05-21 22:44:49 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-05-21 22:44:49 +0000
commit37528013f6bcd29b16c7fd8b15a19fea4d4d33dc (patch)
tree81441fa0d3ab28b29aaacf55b67b62dfcdf2a4ca /net/im/silc-client/silc-client.SlackBuild
parentcccec0d1d89d274a7a2fef3eaaf2a14886f254c7 (diff)
downloadslackbuilds-37528013f6bcd29b16c7fd8b15a19fea4d4d33dc.tar.gz
slackbuilds-37528013f6bcd29b16c7fd8b15a19fea4d4d33dc.tar.bz2
silc: fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1239 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/im/silc-client/silc-client.SlackBuild')
-rwxr-xr-xnet/im/silc-client/silc-client.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/im/silc-client/silc-client.SlackBuild b/net/im/silc-client/silc-client.SlackBuild
index ab97890b..fbaddcd3 100755
--- a/net/im/silc-client/silc-client.SlackBuild
+++ b/net/im/silc-client/silc-client.SlackBuild
@@ -44,10 +44,12 @@ SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
REPOS=${REPOS:=$TMP}
+PKG_VERSION="`echo $VERSION | sed -e 's/-/_/g'`"
+
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
-slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$PKG_VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
if [ "$CLEANUP" == "yes" ]; then
rm -rf $TMP/$PACKAGE