fixed execution context variables in demo
This commit is contained in:
parent
259fba76b8
commit
58136f7b58
1 changed files with 2 additions and 2 deletions
4
demo.sh
4
demo.sh
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# Initial Vars
|
# Initial Vars
|
||||||
VERSION=1.1.0
|
VERSION=1.1.0
|
||||||
scriptname="${0##*/}"
|
scriptname="${BASH_SOURCE[0]##*/}"
|
||||||
rundir="${0%/*}"
|
rundir="${BASH_SOURCE[0]%/*}"
|
||||||
runuser="$(whoami)"
|
runuser="$(whoami)"
|
||||||
|
|
||||||
source ${rundir}/functions
|
source ${rundir}/functions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue