mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
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)
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user