mirror of
https://github.com/rclone/rclone.git
synced 2025-01-19 04:47:54 +02:00
docs: install.sh add macOS fallback for mktemp - fixes #2173
This commit is contained in:
parent
91b068ad3a
commit
7e80e609e8
@ -24,8 +24,8 @@ if [ -n "$1" ]; then
|
||||
fi
|
||||
|
||||
|
||||
#create tmp directory and move to it
|
||||
tmp_dir=`mktemp -d`; cd $tmp_dir
|
||||
#create tmp directory and move to it with macOS compatibility fallback
|
||||
tmp_dir=`mktemp -d 2>/dev/null || mktemp -d -t 'rclone-install'`; cd $tmp_dir
|
||||
|
||||
|
||||
#make sure unzip tool is available and choose one to work with
|
||||
|
Loading…
x
Reference in New Issue
Block a user