aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/gitian-linux.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-03 22:32:50 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-27 19:27:56 +0200
commit17f81e96486780df5d464487975ecb11b278ec8d (patch)
tree96369d9a631c1996c0c794091120fd1fdf54bb92 /contrib/gitian-descriptors/gitian-linux.yml
parent61bb21b4181c06b5956b5d6f2f7831e56e4f1cf6 (diff)
script: Enable SC2001 rule for Gitian scripts
Diffstat (limited to 'contrib/gitian-descriptors/gitian-linux.yml')
-rw-r--r--contrib/gitian-descriptors/gitian-linux.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml
index e994ab3cf8..4d7e327359 100644
--- a/contrib/gitian-descriptors/gitian-linux.yml
+++ b/contrib/gitian-descriptors/gitian-linux.yml
@@ -144,7 +144,8 @@ script: |
CONFIG_SITE=${BASEPREFIX}/$(echo "${HOSTS}" | awk '{print $1;}')/share/config.site ./configure --prefix=/
make dist
SOURCEDIST=$(echo bitcoin-*.tar.gz)
- DISTNAME=$(echo ${SOURCEDIST} | sed 's/.tar.*//')
+ DISTNAME=${SOURCEDIST/%.tar.gz}
+
# Correct tar file order
mkdir -p temp
pushd temp