summaryrefslogtreecommitdiffstats
path: root/jjb/deb_dpdk
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-11-09 20:18:48 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2017-11-09 20:18:48 +0000
commit65d11fed51195247c6b753bc38c42fd88c69042d (patch)
treefa2258fc3a4e64ecdb5574139f7e74b9d06f00f4 /jjb/deb_dpdk
parent0b3ab77df999a7ccba195f5d1a40f806261bb701 (diff)
deb_dpdk: do not replace ~rc with -rc in tarball
Using ~ is the right separator for RC versions, as - is used for the debian revision. Fixes generating orig tarball for 17.11~rc3. Change-Id: I55ff419eb3c20f2b23353aef9f1743a9118845fd Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'jjb/deb_dpdk')
-rw-r--r--jjb/deb_dpdk/include-raw-deb_dpdk-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh b/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh
index 12c479fd3..7281160ec 100644
--- a/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh
+++ b/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh
@@ -32,7 +32,7 @@ sudo apt-get update
sudo apt-get install -y ${MISSING_PKGS}
pkg_version=$(dpkg-parsechangelog --show-field Version)
-orig_version=$(echo ${pkg_version} | perl -pe 's/-.+$//; s/~/-/') # remove debian suffix, replace ~rc1 with -rc1, for instance
+orig_version=$(echo ${pkg_version} | perl -pe 's/-.+$//') # remove debian suffix
orig_tarball=$(git ls-tree remotes/origin/pristine-tar | perl -ne "print /(dpdk_${orig_version}.orig.+).id/")
pristine-tar checkout ${orig_tarball}