no need for push/popd in sub-shell
This commit is contained in:
parent
96374f4e54
commit
5e1517eb4d
6 changed files with 10 additions and 21 deletions
|
@ -6,15 +6,12 @@ if [[ -d $BASE_DIR/riot-web ]]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
|
||||
pushd $BASE_DIR > /dev/null
|
||||
cd $BASE_DIR
|
||||
curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --output riot.zip
|
||||
unzip riot.zip
|
||||
rm riot.zip
|
||||
mv riot-web-${RIOT_BRANCH} riot-web
|
||||
cp config-template/config.json riot-web/
|
||||
pushd riot-web > /dev/null
|
||||
cd riot-web
|
||||
npm install
|
||||
npm run build
|
||||
popd > /dev/null
|
||||
popd > /dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue