Permalink
Browse files

Fix how the path gets set in after_failure

  • Loading branch information...
1 parent 5e003d5 commit 3b2e0a6d768c101271029e079cdd13728c16f597 @gnachman committed Dec 30, 2016
Showing with 1 addition and 2 deletions.
  1. +1 −2 ci/after_failure.sh
View
@@ -4,11 +4,10 @@ set -x
if ls /tmp/failed-* 1> /dev/null 2>&1; then
cp tests/imgcat /tmp
- export PATH=($PATH $PWD/tests)
+ export PATH=$PATH:$PWD/tests
cd /tmp
source /tmp/diffs > diffs.txt
tar cvfz failed-images.tgz failed-*.png diffs.txt
- whereis curl
/usr/bin/curl -F "file=@failed-images.tgz" https://file.io
fi

0 comments on commit 3b2e0a6

Please sign in to comment.