PACK=$2
AUTHOR=$3
DESCRIPTION=$4
+PACK_DIRECTORY=${PACK}_PKG
echo "output= " $OUTPUT
echo "bin = " $BINPATH
echo "input = " $INPUT
echo "pack = " $PACK
-PACK_DIRECTORY=${PACK}_PKG
echo "pack_directory = " $PACK_DIRECTORY
if [ -d $OUTPUT/${PACK_DIRECTORY} ]
fi
cp -R ${INPUT} "$OUTPUT/$PACK_DIRECTORY"
-cd $OUTPUT/$PACK_DIRECTORY
-sed s,WITHOUT_NAME,"${PACK}", < CMakeLists.txt | \
+cd $OUTPUT/$PACK_DIRECTORY
+#JPR 5/4/2011
+#sed s,WITHOUT_NAME,"${PACK}", < CMakeLists.txt | \
+sed s,WITHOUT_NAME,"${PACK_DIRECTORY}", < CMakeLists.txt | \
sed s,WITHOUT_AUTHOR,"${AUTHOR}", | \
sed s,WITHOUT_DESCRIPTION,"${DESCRIPTION}", > CMakeLists.txt