Skip to content

Commit

Permalink
Updating judge wrapper script again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Krulis committed Jan 19, 2019
1 parent 015e6a1 commit 1a043b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion judges/judge_passthrough/recodex-data-only-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
EXECUTABLE=$1
shift

chmod a+x "$EXECUTABLE"

if [[ "$EXECUTABLE" == *.jar ]]; then
EXECUTABLE="java -jar $EXECUTABLE"
fi

OUTPUT=`$EXECUTABLE $@`
OUTPUT=`"$EXECUTABLE" "$@"`
echo $?
echo "$OUTPUT"
2 changes: 1 addition & 1 deletion recodex-worker.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%define short_name worker
%define version 1.6.1
%define unmangled_version d25ef7586678ed3067654d306f9dc60f3b8ca8c0
%define release 2
%define release 3

%define spdlog_name spdlog
%define spdlog_version 0.13.0
Expand Down

0 comments on commit 1a043b6

Please sign in to comment.