Skip to content

Commit

Permalink
Fix cargo script
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanzab committed Dec 19, 2015
1 parent ff0e899 commit 1502da3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/cargo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export CARGO_TARGET_DIR=./target

CRATE_PATHS=( gl/ gl_generator/ khronos_api/ )
TEST_PATHS=( gl_tests/test_*/ )
ALL_PATHS=( ${CRATE_PATHS[@]} ${test_paths[@]} )
ALL_PATHS=( ${CRATE_PATHS[@]} ${TEST_PATHS[@]} )

if [ -z "${TEST}" ]; then
case $FILTER in
Expand All @@ -25,8 +25,8 @@ if [ -z "${TEST}" ]; then
esac
else
PATHS=( $TEST )
PATHS=( ${paths[@]/#/gl_tests/test_} )
PATHS=( ${paths[@]/%//} )
PATHS=( ${PATHS[@]/#/gl_tests/test_} )
PATHS=( ${PATHS[@]/%//} )
fi

export RUST_BACKTRACE=1
Expand Down

0 comments on commit 1502da3

Please sign in to comment.