#
# %s - Replaced with the input name of the program, or the program to
# execute, as appropriate.
+# %llvmgcc - llvm-gcc command
+# %llvmgxx - llvm-g++ command
+# %prcontext - prcontext.tcl script
#
FILENAME=$1
TESTNAME=$1
SUBST=$1
-OUTPUT=Output/$FILENAME.out
+FILENAME_ONLY=`basename $1`
+OUTPUT=Output/$FILENAME_ONLY.out
# create the output directory if it does not already exist
mkdir Output > /dev/null 2>&1