JAL-4428 add some XXXX for mktemp -t
authorJim Procter <jprocter@dundee.ac.uk>
Wed, 11 Sep 2024 14:23:46 +0000 (15:23 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Wed, 11 Sep 2024 14:23:46 +0000 (15:23 +0100)
utils/osx_signing/sign_and_staple_dmg.sh

index db3e07b..b73cdb9 100755 (executable)
@@ -515,7 +515,7 @@ else
     cp -f "$VOLUMEICON" "${TEMPDMGDIR}/${DEFAULTVOLUMEICONFILE}"
   fi
 
-  TEMP_RW_BASE=$(mktemp -d -p "${TEMPDIR}" -t "temp_rw")
+  TEMP_RW_BASE=$(mktemp -d -p "${TEMPDIR}" -t "temp_rwXXX")
   TEMPDMGFILE="${TEMP_RW_BASE}.dmg"
   TEMPMOUNTDIR="${TEMP_RW_BASE}/Volume"