aboutsummaryrefslogtreecommitdiff
path: root/k9cp
diff options
context:
space:
mode:
Diffstat (limited to 'k9cp')
-rwxr-xr-xk9cp/k9copy/k9copy.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/k9cp/k9copy/k9copy.SlackBuild b/k9cp/k9copy/k9copy.SlackBuild
index ada89159..4336677d 100755
--- a/k9cp/k9copy/k9copy.SlackBuild
+++ b/k9cp/k9copy/k9copy.SlackBuild
@@ -34,10 +34,11 @@ PACKAGE=$PACKAGE_ORIG
ARCH=${ARCH:=i468}
SRC_DIR=${SRC:=$CWD}
if [ "$VERSION" != "" ]; then
- VERSION_ORIG=`echo $VERSION | sed -r 's/(.*)-(.*)$/\1/'`
REVISION=`echo $VERSION | sed -r 's/(.*)-(.*)$/\2/'`
+ VERSION=`echo $VERSION | sed -r 's/(.*)-(.*)$/\1/'`
+else
+ VERSION=$VERSION_ORIG
fi
-VERSION=$VERSION_ORIG
SRC=$PACKAGE-$VERSION-$REVISION.$EXTENSION
BUILD=${BUILD:=1rud}
TMP=${TMP:=/tmp}