cd first so we checkout the right repo

This commit is contained in:
David Baker 2017-05-22 16:48:53 +01:00
parent c5a873c316
commit 52d3dd4de9

View file

@ -15,10 +15,10 @@ echo "Determined branch to be $curbranch"
git clone https://github.com/vector-im/riot-web.git \
"$RIOT_WEB_DIR"
git checkout "$curbranch" || git checkout develop
cd "$RIOT_WEB_DIR"
git checkout "$curbranch" || git checkout develop
mkdir node_modules
npm install