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
No related branches found
No related tags found
3 merge requests!3Align master branch with twoln-dev,!2Synchronising towards version 2.5,!1Twoln dev
#!/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