docs: install.sh add macOS fallback for mktemp - fixes #2173
This commit is contained in:
parent
91b068ad3a
commit
7e80e609e8
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue