Commit 7316fa71 authored by Romain Hunault's avatar Romain Hunault

Fix script issue

parent dcf18cbd
......@@ -23,9 +23,8 @@ udpate-apk:
- cd $PROJECT
- echo ">> [$(date)] Download file"
- wget --header "JOB-TOKEN:$CI_JOB_TOKEN" $URL
- UPDATE_LOCAL_SRC_FILE=$(grep $FILE Android.mk)
- |
if [ -z "$UPDATE_LOCAL_SRC_FILE" ]
if [ ! $(grep $FILE Android.mk) ]
then
echo ">> [$(date)] Update Android.mk"
OLD_FILE=$(grep -oP "LOCAL_SRC_FILES := \K(.*\.apk)" Android.mk)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment