Commit 34b988aa authored by Matthew Brett's avatar Matthew Brett
Browse files

BF: add back rsync, somehow removed from manylinux

See: https://github.com/pypa/manylinux/issues/160
parent 86976a31
...@@ -125,6 +125,12 @@ function untar { ...@@ -125,6 +125,12 @@ function untar {
esac esac
} }
function install_rsync {
if [ -z "$IS_OSX" ]; then
[[ $(type -P rsync) ]] || yum install -y rsync
fi
}
function fetch_unpack { function fetch_unpack {
# Fetch input archive name from input URL # Fetch input archive name from input URL
# Parameters # Parameters
...@@ -146,6 +152,7 @@ function fetch_unpack { ...@@ -146,6 +152,7 @@ function fetch_unpack {
fi fi
# Unpack archive, refreshing contents # Unpack archive, refreshing contents
rm_mkdir arch_tmp rm_mkdir arch_tmp
install_rsync
(cd arch_tmp && untar ../$out_archive && rsync --delete -avh * ..) (cd arch_tmp && untar ../$out_archive && rsync --delete -avh * ..)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment