mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Fix mktemp on Mac OS X
This commit is contained in:
parent
3e2e1ed27a
commit
b6c79e4fb2
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ function fisher_uninstall -d "Disable / Uninstall Plugins"
|
|||
continue
|
||||
end
|
||||
|
||||
set -l tmp (mktemp)
|
||||
set -l tmp (mktemp -t fisher.XXXXXXXX)
|
||||
|
||||
if not sed -E '/^ *'(printf "%s|%s" $name $url | sed 's|/|\\\/|g'
|
||||
)'([ #].*)*$/d' < $file > $tmp
|
||||
|
|
|
@ -90,7 +90,7 @@ function wait -d "Run commands and wait with a spin"
|
|||
end
|
||||
end
|
||||
|
||||
set -l tmp (mktemp)
|
||||
set -l tmp (mktemp -t fisher.XXXXXXXX)
|
||||
|
||||
fish -c "$commands" ^ $tmp &
|
||||
|
||||
|
|
Loading…
Reference in a new issue