Skip to content

Commit

Permalink
Prefix the temporary command script with a #!/bin/bash call.
Browse files Browse the repository at this point in the history
  • Loading branch information
keithpitt committed Apr 11, 2015
1 parent 326f0db commit 366dcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ else
BUILDKITE_SCRIPT_PATH="buildkite-script-$BUILDKITE_JOB_ID"
BUILDKITE_COMMAND_DISPLAY=$BUILDKITE_COMMAND

echo "$BUILDKITE_COMMAND" > $BUILDKITE_SCRIPT_PATH
echo -e "#\!/bin/bash\n$BUILDKITE_COMMAND" > $BUILDKITE_SCRIPT_PATH
else
buildkite-error "This agent is not allowed to evaluate console commands. To allow this, re-run this agent without the \`--no-command-eval\` option, or specify a script within your repository to run instead (such as scripts/test.sh)."
fi
Expand Down

0 comments on commit 366dcb8

Please sign in to comment.