dont assume current directory in scripts
This commit is contained in:
parent
2cb83334ed
commit
01612f71bf
5 changed files with 18 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
BASE_DIR=$(realpath $(dirname $0))
|
||||
pushd $BASE_DIR
|
||||
pushd riot-web/webapp/
|
||||
python -m SimpleHTTPServer 8080 &
|
||||
PID=$!
|
||||
popd
|
||||
echo $PID > riot.pid
|
||||
echo $PID > riot.pid
|
||||
popd
|
Loading…
Add table
Add a link
Reference in a new issue