*** src/bin/initlocation/initlocation.sh.old Sun Sep 23 15:02:13 2001 --- src/bin/initlocation/initlocation.sh Sun Sep 23 15:04:23 2001 *************** *** 125,134 **** # umask must disallow access to group, other for files and dirs umask 077 ! if [ ! -d $PGALTDATA ]; then echo "Creating directory $PGALTDATA" mkdir "$PGALTDATA" ! if [ $? -ne 0 ]; then echo "$CMDNAME: could not create $PGALTDATA" 1>&2 echo "Make sure $PGALTDATA is a valid path and that you have permission to access it." 1>&2 exit_nicely --- 125,134 ---- # umask must disallow access to group, other for files and dirs umask 077 ! if [ ! -d "$PGALTDATA" ]; then echo "Creating directory $PGALTDATA" mkdir "$PGALTDATA" ! if [ "$?" -ne 0 ]; then echo "$CMDNAME: could not create $PGALTDATA" 1>&2 echo "Make sure $PGALTDATA is a valid path and that you have permission to access it." 1>&2 exit_nicely *************** *** 139,148 **** fi ! if [ ! -d $PGALTDATA/base ]; then echo "Creating directory $PGALTDATA/base" mkdir "$PGALTDATA/base" ! if [ $? -ne 0 ]; then echo "$CMDNAME: could not create $PGALTDATA/base" 1>&2 echo "Make sure $PGALTDATA/base is a valid path and that you have permission to access it." 1>&2 exit_nicely --- 139,148 ---- fi ! if [ ! -d "$PGALTDATA"/base ]; then echo "Creating directory $PGALTDATA/base" mkdir "$PGALTDATA/base" ! if [ "$?" -ne 0 ]; then echo "$CMDNAME: could not create $PGALTDATA/base" 1>&2 echo "Make sure $PGALTDATA/base is a valid path and that you have permission to access it." 1>&2 exit_nicely