CC-2016: Rearrange python scripts for reusability
-fixed path issue that was happening on some systems
This commit is contained in:
parent
c254422f72
commit
17181674b7
5 changed files with 14 additions and 7 deletions
|
@ -4,4 +4,11 @@
|
|||
# needed here to keep dirs/configs clean #
|
||||
# and maybe to set user-rights #
|
||||
############################################
|
||||
cd ../ && ./pypo-notify.py $1 $2 $3 $4 $5 $6 $7 $8 &
|
||||
pwd
|
||||
|
||||
# Absolute path to this script
|
||||
SCRIPT=`readlink -f $0`
|
||||
# Absolute path this script is in
|
||||
SCRIPTPATH=`dirname $SCRIPT`
|
||||
|
||||
cd ${SCRIPTPATH}/../ && ./pypo-notify.py $1 $2 $3 $4 $5 $6 $7 $8 &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue