Skip to content

Commit

Permalink
launchBuildMain: execute the repo's version if newer
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 3, 2021
1 parent f5412fb commit d45a2a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/jenkins/launchBuildMain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ if [ "${GIT_URL_IS_NATRON:-}" = "1" ]; then
if [ "$TMP_PATH/Natron/tools/jenkins/launchBuildMain.sh" -nt "launchBuildMain.sh" ]; then
echo "Warning: launchBuildMain.sh has changed since the last SDK build. SDK may need to be rebuilt. Continuing anyway after a 5s pause."
sleep 5
mv ./launchBuildMain.sh ./launchBuildMain.sh.orig
cp "$TMP_PATH/Natron/tools/jenkins/launchBuildMain.sh" ./launchBuildMain.sh
exec ./launchBuildMain.sh "$*"
fi
if [ -z "${NOUPDATE:+x}" ]; then
(cd "$TMP_PATH/Natron/tools/jenkins"; tar --exclude launchBuildMain.sh -cf - .) | tar xf -
Expand Down

0 comments on commit d45a2a7

Please sign in to comment.