File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
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- if [ -n " ${INPUT_FILE} " ]; then
9- python3 " ${BIN_FILE} " < " ${INPUT_FILE} "
10- else
11- python3 " ${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+ python3 " ${BIN_FILE} " < " ${INPUT_FILE} "
10+ else
11+ python3 " ${BIN_FILE} "
12+ fi
You can’t perform that action at this time.
0 commit comments