From 2bc806bc85e98997b0bd60d7608b5d9eddf6c1e1 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 19 Jul 2007 03:29:54 +0000 Subject: Release 10.39.02 git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@360 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pnmmargin | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'editor/pnmmargin') diff --git a/editor/pnmmargin b/editor/pnmmargin index 31420f99..d2c9cd72 100755 --- a/editor/pnmmargin +++ b/editor/pnmmargin @@ -12,9 +12,8 @@ # implied warranty. tempdir="${TMPDIR-/tmp}/pnmmargin.$$" -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 tmp1=$tempdir/pnmm1 -- cgit 1.4.1