File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
16
16
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test
17
17
18
18
curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
19
- tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1
19
+ tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 --no-same-owner
20
20
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
21
21
22
22
/tmp/etcd-download-test/etcd --version
Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ function release_pass {
596
596
;;
597
597
esac
598
598
599
- tar xzvf " /tmp/$file " -C /tmp/ --strip-components=1
599
+ tar xzvf " /tmp/$file " -C /tmp/ --strip-components=1 --no-same-owner
600
600
mkdir -p ./bin
601
601
mv /tmp/etcd ./bin/etcd-last-release
602
602
}
You can’t perform that action at this time.
0 commit comments