Skip to content

Commit

Permalink
Don't cd for composer install, use --working-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcullum committed Feb 4, 2019
1 parent 3533f76 commit 30979fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/jenkinslaunch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ mkdir -p $TARGET \
&& git archive $LAUNCHREF | tar xC $TARGET \
&& (echo $TARGET ; echo $LAUNCHREF) > $TARGET/web/release.txt \
&& ln -s $TARGETBASE/config.php $TARGET/config/config.php \
&& cd $TARGET && composer install --no-dev -o \
&& composer install -o --prefer-dist --no-dev --no-progress --working-dir=$TARGET \
&& ln -s $TARGET $TARGETBASE/www.new \
&& mv -Tf $TARGETBASE/www.new $TARGETBASE/www \
&& rm -rf /tmp/joindin-twig-cache/live \
&& rm -rf /tmp/joindin-twig-cache/test
"

0 comments on commit 30979fa

Please sign in to comment.