summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2015-02-05 10:28:07 +0200
committerRiku Voipio <riku.voipio@linaro.org>2015-02-05 10:28:07 +0200
commit2d75965434d6304578043c10a175dbd5cc866aad (patch)
tree6a7de94a958b78e1014fc957451a7276e83eb9e2
parent33e599f279618473646bdbdfe4e1a7fca28b0ecb (diff)
pull right version
-rwxr-xr-xdocker-nativebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-nativebuild b/docker-nativebuild
index 0591220..e7e56ed 100755
--- a/docker-nativebuild
+++ b/docker-nativebuild
@@ -3,7 +3,7 @@
set -x
LOCALDSC=$1
ARCH=$2
-SOURCE=`basename ${LOCALDSC}|sed -e 's,_.*,,' -e 's,.*/,,'`
+SOURCE=`basename ${LOCALDSC}|sed -e 's,_,=,' -e 's,.dsc$,,'`
SOURCEDIR=`basename ${LOCALDSC}|awk -F- '{OFS="-"; $NF=""; print $0}'|sed -e 's/_/-/' -e 's/.$//g'`
# for now assume amd64 is source and arch all upload arch