Description:
fix for -o option for fpc-2.0.0
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@226 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r54:a67009b340d8 - - 1 file changed: 2 inserted, 1 deleted
@@ -88,7 +88,8 | |||||
|
88 | $CPLUSPLUS_COMPILER $SOURCE_FILE -o $OUTPUT_FILE $CPLUSPLUS_OPTIONS 2>$MESSAGE_FILE |
|
88 | $CPLUSPLUS_COMPILER $SOURCE_FILE -o $OUTPUT_FILE $CPLUSPLUS_OPTIONS 2>$MESSAGE_FILE |
|
89 | elif [ $PROG_LANG = "pas" ] |
|
89 | elif [ $PROG_LANG = "pas" ] |
|
90 | then |
|
90 | then |
|
91 |
- $PASCAL_COMPILER $SOURCE_FILE -o |
|
91 | + $PASCAL_COMPILER $SOURCE_FILE -ooutpas $PASCAL_OPTIONS >$MESSAGE_FILE |
|
|
92 | + mv outpas $OUTPUT_FILE | ||
|
92 | else |
|
93 | else |
|
93 | talk "ERROR: Invalid language specified!" |
|
94 | talk "ERROR: Invalid language specified!" |
|
94 | echo "ERROR: Invalid language specified!" > $MESSAGE_FILE |
|
95 | echo "ERROR: Invalid language specified!" > $MESSAGE_FILE |
You need to be logged in to leave comments.
Login now