diff options
author | Carlo Carraro <[email protected]> | 2016-07-12 19:47:19 +0200 |
---|---|---|
committer | Carlo Carraro <[email protected]> | 2016-07-12 19:47:24 +0200 |
commit | 465675d35fb320e425aae0102bd1aba22f874a65 (patch) | |
tree | 0a1ae6b0ddf90231cbe1faf118b298ad5250e304 | |
parent | a81cc1584b29aee62c57ac42111bd40af06017e2 (diff) | |
download | kerl-465675d35fb320e425aae0102bd1aba22f874a65.tar.gz kerl-465675d35fb320e425aae0102bd1aba22f874a65.tar.bz2 kerl-465675d35fb320e425aae0102bd1aba22f874a65.zip |
fix extraction of files for some versions of tar
-rwxr-xr-x | kerl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -469,7 +469,7 @@ do_normal_build() # github tarballs have a directory in the form of "otp[_-]TAGNAME" # Ericsson tarballs have the classic otp_src_RELEASE pattern # Standardize on Ericsson format because that's what the rest of the script expects - (cd "$UNTARDIRNAME" && tar xfz "$KERL_DOWNLOAD_DIR/$FILENAME.tar.gz" && mv ./* "$KERL_BUILD_DIR/$2/otp_src_$1") + (cd "$UNTARDIRNAME" && tar xzf "$KERL_DOWNLOAD_DIR/$FILENAME.tar.gz" && mv ./* "$KERL_BUILD_DIR/$2/otp_src_$1") rm -rf "$UNTARDIRNAME" fi @@ -773,7 +773,7 @@ download_manpages() FILENAME=otp_doc_man_$1.tar.gz tarball_download "$FILENAME" echo "Extracting manpages" - cd "$absdir" && tar xfz "$KERL_DOWNLOAD_DIR/$FILENAME" + cd "$absdir" && tar xzf "$KERL_DOWNLOAD_DIR/$FILENAME" } download_htmldocs() |