]> git.pond.sub.org Git - empserver/commitdiff
Add missing cd to patch step for nightlybuild.sh
authorRon Koenderink <rkoenderink@yahoo.ca>
Fri, 26 Sep 2008 23:33:11 +0000 (17:33 -0600)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 17 Oct 2008 00:46:56 +0000 (20:46 -0400)
If the patch step is ran without the preceeding step, the cwd
is incorrect.

src/scripts/nightly/nightlybuild.sh

index 1b3edf178529a69dd8b1b69f7d05f24ee407ad6c..03e1a8a460ad9efa613e1df655e6d7d9e5080eb4 100755 (executable)
@@ -136,6 +136,7 @@ esac
 #
 # START PATCH
 #
+cd "${BOXDIR}/${WORKDIR}/empserver" || err "Could not cd to ${BOXDIR}/${WORKDIR}/empserver"
 case "${NIGHTLY_SKIP_STEP}"
 in
        *PATCH*) ;;