From 77327d2c2156622c48ea7d8e7020891b4a3a19ff Mon Sep 17 00:00:00 2001 From: a1batross Date: Sat, 14 May 2016 00:50:27 +0300 Subject: [PATCH] Fix script --- scripts/travis-upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis-upload.sh b/scripts/travis-upload.sh index aeea4087..6ce3d8a0 100755 --- a/scripts/travis-upload.sh +++ b/scripts/travis-upload.sh @@ -4,7 +4,7 @@ function getDaysSinceRelease { - printf %04d $(( ( $(date -ud +'%s') - $(date -ud '150401' +'%s') )/60/60/24 )) + printf %04d $(( ( $(date +'%s') - $(date -ud '150401' +'%s') )/60/60/24 )) } DAYSSINCERELEASE=`getDaysSinceRelease` @@ -54,4 +54,4 @@ curl -T xashdroid-armv7-tegra2.apk -u $YADISK_USERNAME:$YADISK_PASSWORD https:// curl -T xashdroid-x86.apk -u $YADISK_USERNAME:$YADISK_PASSWORD https://webdav.yandex.ru/XashTestVersions/$YADISKPATH/$(generateFileName_current x86) -exit 0 \ No newline at end of file +exit 0