diff options
author | Mark Allen <[email protected]> | 2017-05-05 11:17:09 -0500 |
---|---|---|
committer | Mark Allen <[email protected]> | 2017-05-05 11:17:09 -0500 |
commit | 2c887db80bc48fea1ffe5822c5b787b15ca65c04 (patch) | |
tree | 88eed5657f128b4bd55c49d74ec2a71bc0e1fed8 /kerl | |
parent | 5d5d138aa5f009f6d54e1220505a37f761a6e965 (diff) | |
download | kerl-force-move.tar.gz kerl-force-move.tar.bz2 kerl-force-move.zip |
Add a -f flag for balky mvforce-move
Some Linuxes get cranky when you try to move files
on top of an existing directory. So we add the -f
flag to say it's ok to overwrite that old stuff.
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -526,7 +526,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 xzf "$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 -f ./* "$KERL_BUILD_DIR/$2/otp_src_$1") rm -rf "$UNTARDIRNAME" fi |