tizen: Prepare before importing snapshot 33/25833/8
authorPhilippe Coval <p.coval@samsung.com>
Thu, 14 Jun 2018 07:04:21 +0000 (09:04 +0200)
committerMats Wichmann <mats@linux.com>
Tue, 4 Sep 2018 14:38:57 +0000 (14:38 +0000)
Change-Id: I2f0c11cabdf14ee7c2287a8d9774be59da46cef4
Signed-off-by: Philippe Coval <p.coval@samsung.com>
tools/tizen/Dockerfile

index 06006bf..2624d0f 100644 (file)
@@ -63,12 +63,12 @@ RUN echo "#log: ${project}: Install Tizen tools" \
 ADD . /usr/local/src/${project}
 WORKDIR /usr/local/src/${project}
 RUN echo "#log: ${project}: Preparing sources" \
+  && [ ! -x prep.sh ] || EXEC_MODE=true ./prep.sh \
   && git config --global user.name "Nobody" \
   && git config --global user.email "nobody@localhost" \
   && git init \
   && git add -f . \
   && git commit -am 'WIP: Import ${project}' \
-  && [ ! -x prep.sh ] || EXEC_MODE=true ./prep.sh \
   && sync
 
 RUN echo "#log: ${project}: Building sources" \