diff --git a/code/travis.sh b/code/travis.sh index 30335777..23482273 100644 --- a/code/travis.sh +++ b/code/travis.sh @@ -1,7 +1,7 @@ #!/bin/bash # Find out which files in data/ have been changed in the last commit -FILES=$(git log -p -1 data/ | grep +++ | cut / -f 2-) +FILES=$(git log -p -1 data/ | grep +++ | cut -d '/' -f 2-) # Work on thes files that have been changed in the last commit for FILE in $FILES ; do