travis: fix screenshots script

This commit is contained in:
Gautier Pelloux-Prayer 2015-06-23 11:11:15 +02:00
parent f84fa8a698
commit 994fbdec47

View file

@ -6,10 +6,8 @@ if ! which underscore &> /dev/null; then
fi
cd $KIF_SCREENSHOTS
pwd
ls
if "*.png" 2>/dev/null; then
if [ ! -z "$(find . -name "*.png")" ]; then
# Prepare location to collect delete commands
if test "$TRAVIS_BUILD_NUMBER" = ""; then
TRAVIS_BUILD_NUMBER="dev"