From: Alan Knowles Date: Mon, 21 Jan 2019 03:46:12 +0000 (+0800) Subject: try using local path for buildSDK in pre-commit X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=6bf21d4d3bf6eb7faeac8fe04f8f3d32895fe53e try using local path for buildSDK in pre-commit --- diff --git a/buildSDK/pre-commit b/buildSDK/pre-commit index 3d9d1c99d5..6e8a240ad4 100755 --- a/buildSDK/pre-commit +++ b/buildSDK/pre-commit @@ -65,7 +65,7 @@ function changed_files() function trigger_action_file($fn, $filename) { - $ret = explode("\n",file_get_contents(__DIR__ . "/" . $filename)); + $ret = explode("\n",file_get_contents("buildSDK/" . $filename)); $ret[] = "buildSDK/".$filename; return trigger_action($fn, $ret);