Skip to content
Snippets Groups Projects
Commit 2b5b5aaa authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

a more sophisticated way of getting the script directory

parent 29f75ced
Branches
Tags
3 merge requests!3Align master branch with twoln-dev,!2Synchronising towards version 2.5,!1Twoln dev
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
#!/bin/bash #!/bin/bash
cd /var/www/html/technical/scripts; /usr/bin/php CoCointerface.php 1> /dev/null 2>>/var/log/coco_error.log spath="$(readlink -n -f "$0")"
cd "$(dirname "$spath")"
/usr/bin/php CoCointerface.php 1> /dev/null 2>>/var/log/coco_error.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment