diff --git a/tmkproject.sh b/tmkproject.sh index 5198d79..993ee5b 100755 --- a/tmkproject.sh +++ b/tmkproject.sh @@ -3,9 +3,9 @@ # # Copyright (c) 2012, TundraWare Inc., Des Plaines, IL 60018 USA # All Rights Reserved. For Terms Of Use, See: tmkproject-license.txt -# $Id: tmkproject.sh,v 1.111 2012/06/06 17:37:44 tundra Exp $ +# $Id: tmkproject.sh,v 1.112 2012/06/07 14:28:30 tundra Exp $ -CVSID='$Id: tmkproject.sh,v 1.111 2012/06/06 17:37:44 tundra Exp $' +CVSID='$Id: tmkproject.sh,v 1.112 2012/06/07 14:28:30 tundra Exp $' # If user just wants program version, display it and exit. @@ -134,7 +134,19 @@ # Set the project file names correctly -tren.py -r program=${PROJECTNAME} -r license=${PROJECTNAME}-license -r manpage=${PROJECTNAME} * +for file in * +do + + newname=`echo ${file} | sed -e s/program/${PROJECTNAME}/g \ + -e s/license/${PROJECTNAME}-license/g \ + -e s/manpage/${PROJECTNAME}/g` + + if [ ${newname} != ${file} ] + then + mv -v ${file} ${newname} + fi + +done # Get everything under CVS control