[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Extract the packages to the temporary directory.
commit dbca14b4bbea9ceae7e7c58fb27002e2884bf5cd
Author: Arturo Filastò <art@xxxxxxxxx>
Date: Mon Jan 27 11:38:10 2014 +0100
Extract the packages to the temporary directory.
---
setup-dependencies.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup-dependencies.sh b/setup-dependencies.sh
index 87e5194..71f968e 100755
--- a/setup-dependencies.sh
+++ b/setup-dependencies.sh
@@ -172,8 +172,8 @@ install_pkg_from_pypi() {
DO "sudo gpg --homedir /root --no-default-keyring --keyring $TMP_KEYRING --import $KEY_FILE" "0"
DO "sudo gpg --homedir /root --no-default-keyring --keyring $TMP_KEYRING --verify $PKG_VERIFY" "0"
- DO "tar xzf ${BUILD_DIR}/${PKG}" "0"
- DO "cd ${PKG_NAME}-*" "0"
+ DO "tar xz --directory ${BUILD_DIR}/ -f ${BUILD_DIR}/${PKG}" "0"
+ DO "cd ${BUILD_DIR}/${PKG_NAME}-*" "0"
echo "[+] Installing the latest ${PKG_NAME}"
if [ "${ASSUME_YES}" -eq "0" ]; then
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits