Fixed typo that prevented TMPDIR from getting set.
Moved TMPDIR to .mkprojectrc.
Create project destination directory if it does not exist.
1 parent 7dfbdff commit 1321c9cf6458ed6196429ab3edad619cf82fe23e
@tundra tundra authored on 4 Jun 2012
Showing 1 changed file
View
8
tmkproject.sh
# mkproject.sh - Create A New Project Skeleton
#
# Copyright (c) 2012, TundraWare Inc., Des Plaines, IL 60018 USA
# All Rights Reserved. For Terms Of Use, See: mkproject-license.txt
# $Id: tmkproject.sh,v 1.102 2012/06/04 00:04:05 tundra Exp $
# $Id: tmkproject.sh,v 1.103 2012/06/04 15:45:17 tundra Exp $
 
CVSID='$Id: tmkproject.sh,v 1.102 2012/06/04 00:04:05 tundra Exp $'
CVSID='$Id: tmkproject.sh,v 1.103 2012/06/04 15:45:17 tundra Exp $'
 
# Make sure we have a valid command line
 
if [ $# -ne 4 ]
# Find out where we're installed
 
FULL=`readlink -f $0`
BASE=`dirname ${FULL}`
 
# Where do temporary files go?
 
TMDIR=/tmp
 
# Readin site-wide configuration
 
. ${BASE}/.mkprojectrc