Commit af919019 authored by André Anjos's avatar André Anjos 💬
Browse files

[ci] Use mktemp correctly on OSX

parent 97f73869
Pipeline #19733 failed with stage
in 29 minutes and 53 seconds
......@@ -21,7 +21,7 @@ else # macOS: `uname` == 'Darwin'
if [ ! -r "${fn}" ]; then
run_cmd curl --silent "${name}/releases/${version}/mac/en-US/Firefox%20${version}.dmg" --output "${fn}"
mount=`mktemp -d`
mount=`mktemp -d -t "${CI_PROJECT_NAME}"`
run_cmd hdiutil attach -noautoopen -mountpoint ${mount} "${fn}"
run_cmd cp -v -a ${mount}/ ./
run_cmd hdiutil detach ${mount}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment