File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
2-
3- # BASE_DIR - base directory for the untrusty scripts
4- # SRC_FILE - BASE_DUR plus the name of the text file where the source code resides
5- # BIN_FILE - BASE_DUR plus the name of the file that will execute the program resides
6- # INPUT_FILE - BASE_DUR plus the name of the file that will be used as input for the program
7-
8- fpc " ${SRC_FILE} " -o" ${BIN_FILE} "
1+ #! /bin/bash
2+
3+ # BASE_DIR - base directory for the untrusty scripts
4+ # SRC_FILE - BASE_DUR plus the name of the text file where the source code resides
5+ # BIN_FILE - BASE_DUR plus the name of the file that will execute the program resides
6+ # INPUT_FILE - BASE_DUR plus the name of the file that will be used as input for the program
7+
8+ fpc " ${SRC_FILE} " -o" ${BIN_FILE} "
Original file line number Diff line number Diff line change 1- #! /bin/bash
2-
3- # BASE_DIR - base directory for the untrusty scripts
4- # SRC_FILE - BASE_DUR plus the name of the text file where the source code resides
5- # BIN_FILE - BASE_DUR plus the name of the file that will execute the program resides
6- # INPUT_FILE - BASE_DUR plus the name of the file that will be used as input for the program
7-
8- if [ -n " ${INPUT_FILE} " ]; then
9- " ${BIN_FILE} " < " ${INPUT_FILE} "
10- else
11- " ${BIN_FILE} "
12- fi
1+ #! /bin/bash
2+
3+ # BASE_DIR - base directory for the untrusty scripts
4+ # SRC_FILE - BASE_DUR plus the name of the text file where the source code resides
5+ # BIN_FILE - BASE_DUR plus the name of the file that will execute the program resides
6+ # INPUT_FILE - BASE_DUR plus the name of the file that will be used as input for the program
7+
8+ if [ -n " ${INPUT_FILE} " ]; then
9+ " ${BIN_FILE} " < " ${INPUT_FILE} "
10+ else
11+ " ${BIN_FILE} "
12+ fi
You can’t perform that action at this time.
0 commit comments