diff options
Diffstat (limited to 'editor/ppmquantall')
-rwxr-xr-x | editor/ppmquantall | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/ppmquantall b/editor/ppmquantall index af1ce22c..7f3d4849 100755 --- a/editor/ppmquantall +++ b/editor/ppmquantall @@ -71,9 +71,8 @@ for i in ${files[@]}; do done tempdir="${TMPDIR-/tmp}/ppmquantall.$$" -mkdir $tempdir || { echo "Could not create temporary file. Exiting."; exit 1;} -chmod 700 $tempdir - +mkdir -m 0700 $tempdir || \ + { echo "Could not create temporary file. Exiting."; exit 1;} trap 'rm -rf $tempdir' 0 1 3 15 all=$tempdir/pqa.all.$$ |