made `update-packages` working directory independent

This commit is contained in:
tigerbot 2017-07-07 16:45:45 -06:00
parent e52ae83aa4
commit 59c9abca49
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
set -e
set -u
pushd packages/assets
pushd $(cd $(dirname ${0}) && pwd)/packages/assets
OAUTH3_GIT_URL="https://git.daplie.com/Oauth3/oauth3.js.git"
git clone ${OAUTH3_GIT_URL} org.oauth3 || true
@ -27,3 +27,5 @@ mkdir -p well-known
pushd well-known
ln -snf ../org.oauth3/well-known/oauth3 ./oauth3
popd
popd