Commit b6955dd9 authored by Ken Cochrane's avatar Ken Cochrane

It is usually safer to use the -o option in curl to specifiy your own temp...

It is usually safer to use the -o option in curl to specifiy your own temp file name in scripts because if the file changes in the url then your local file will also change and it will result in an error since you have that name hard coded in the next few lines (tar, rm)
parent 9902caea
...@@ -68,9 +68,9 @@ then ...@@ -68,9 +68,9 @@ then
if [ -d "vendor/lib/sasl2" ]; then if [ -d "vendor/lib/sasl2" ]; then
export LIBMEMCACHED=$(pwd)/vendor export LIBMEMCACHED=$(pwd)/vendor
else else
curl -s -L -O $VENDORED_MEMCACHED curl -s -L -o tmp-libmemcached.tar.gz $VENDORED_MEMCACHED
tar -zxvf vendor-libmemcached.tar.gz > /dev/null tar -zxvf tmp-libmemcached.tar.gz > /dev/null
rm vendor-libmemcached.tar.gz rm tmp-libmemcached.tar.gz
export LIBMEMCACHED=$(pwd)/vendor export LIBMEMCACHED=$(pwd)/vendor
fi fi
......
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