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,3 +1,6 @@
|
|||
BASE_DIR=$(realpath $(dirname $0))
|
||||
pushd $BASE_DIR
|
||||
PIDFILE=riot.pid
|
||||
kill $(cat $PIDFILE)
|
||||
rm $PIDFILE
|
||||
rm $PIDFILE
|
||||
popd
|
Loading…
Add table
Add a link
Reference in a new issue