Fix an incorrect path problem in run-example.sh

This commit is contained in:
Trustin Lee 2014-05-22 17:57:12 +09:00
parent d7f553562e
commit cdab518562

View File

@ -56,7 +56,7 @@ if [[ -z "$EXAMPLE" ]] || [[ -z "$EXAMPLE_CLASS" ]] || [[ $# -ne 0 ]]; then
exit 1
fi
cd "`dirname "$0"`"
cd "`dirname "$0"`"/example
echo "[INFO] Running: $EXAMPLE ($EXAMPLE_CLASS $EXAMPLE_ARGS)"
exec mvn -nsu compile exec:exec -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS"