mirror of
https://github.com/rclone/rclone.git
synced 2026-10-21 02:54:44 -04:00
docs: install.sh add macOS fallback for mktemp - fixes #2173
This commit is contained in:
1 parent
91b068ad3a
commit
7e80e609e8
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user