aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorMark Allen <[email protected]>2016-07-12 12:58:17 -0500
committerGitHub <[email protected]>2016-07-12 12:58:17 -0500
commit052db0264fd25843fc29444da4d225941d2ce03c (patch)
tree0a1ae6b0ddf90231cbe1faf118b298ad5250e304 /kerl
parenta81cc1584b29aee62c57ac42111bd40af06017e2 (diff)
parent465675d35fb320e425aae0102bd1aba22f874a65 (diff)
downloadkerl-052db0264fd25843fc29444da4d225941d2ce03c.tar.gz
kerl-052db0264fd25843fc29444da4d225941d2ce03c.tar.bz2
kerl-052db0264fd25843fc29444da4d225941d2ce03c.zip
Merge pull request #146 from colrack/tar_fix
fix extraction of files for some versions of tar
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerl b/kerl
index e55c613..3b479a6 100755
--- a/kerl
+++ b/kerl
@@ -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()