fixed rundir contexts

This commit is contained in:
pyr0ball 2023-04-11 10:23:51 -07:00
parent 2012f9c847
commit 259fba76b8

View file

@ -2,9 +2,9 @@
# pyr0ball script functions library # pyr0ball script functions library
# Initial Vars # Initial Vars
functionsrev=1.1.8 functionsrev=1.1.9
scriptname="${0##*/}" scriptname="${BASH_SOURCE[0]##*/}"
rundir="${0%/*}" rundir="${BASH_SOURCE[0]%/*}"
rundir_absolute=$(cd $rundir && pwd) rundir_absolute=$(cd $rundir && pwd)
runuser="$(whoami)" runuser="$(whoami)"
pretty_date="$(date +%Y-%m-%d_%H-%M-%S)" pretty_date="$(date +%Y-%m-%d_%H-%M-%S)"