Skip to content
Snippets Groups Projects
Commit b6955dd9 authored by Ken Cochrane's avatar Ken Cochrane
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -68,9 +68,9 @@ then
if [ -d "vendor/lib/sasl2" ]; then
export LIBMEMCACHED=$(pwd)/vendor
else
curl -s -L -O $VENDORED_MEMCACHED
tar -zxvf vendor-libmemcached.tar.gz > /dev/null
rm vendor-libmemcached.tar.gz
curl -s -L -o tmp-libmemcached.tar.gz $VENDORED_MEMCACHED
tar -zxvf tmp-libmemcached.tar.gz > /dev/null
rm tmp-libmemcached.tar.gz
export LIBMEMCACHED=$(pwd)/vendor
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment