From: Stephen L Johnson Date: Fri, 14 Jul 2000 04:05:57 +0000 (+0000) Subject: added mkdir for $SPONGTMP in new install tree X-Git-Tag: spong-2_7-alpha7~2 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af9b5ee356f936dd0aa42d03bb0f9f3fde033c6;p=spong.git added mkdir for $SPONGTMP in new install tree --- diff --git a/build b/build index 2334bea..38fdfac 100755 --- a/build +++ b/build @@ -14,6 +14,7 @@ $LIBDIR = "$PREFIX/lib"; $WWWDIR = "$PREFIX/www"; $CGIDIR = "$PREFIX/cgi-bin"; $VARDIR = "$PREFIX/var"; # Directory where spong will put data +$TMPDIR = "$PREFIX/tmp"; # update $SPONGTMP var in spong.conf also $WEBUSER = "nobody"; @@ -28,6 +29,8 @@ $ILIBDIR = "$IPREFIX/lib"; $IWWWDIR = "$IPREFIX/www"; $ICGIDIR = "$IPREFIX/cgi-bin"; $IVARDIR = "$IPREFIX/var"; # Directory where spong will put data +$ITMPDIR = "$IPREFIX/tmp"; # update $SPONGTMP var in spong.conf also + # ----------------------------------------------------------------------------- # You really really shouldn't need to change anything below this point (I hope) @@ -133,6 +136,8 @@ sub install { ssystem( "mkdir -p $IVARDIR/archives" ); ssystem( "mkdir -p $IVARDIR/misc" ); + ssystem( "mkdir -p $ITMPDIR" ) if ! -d $ITMPDIR; + # TODO - Clean this up... ssystem( "mkdir -p $ILIBDIR" ) if ! -d $ILIBDIR;