From a2b2df9f863b7c68eca7ad8170c29b90bac68f50 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 21 Jan 2019 11:50:43 +0800 Subject: [PATCH] try using local path for buildSDK in pre-commit --- buildSDK/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSDK/pre-commit b/buildSDK/pre-commit index 6e8a240ad4..3d9d1c99d5 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("buildSDK/" . $filename)); + $ret = explode("\n",file_get_contents(__DIR__ . "/" . $filename)); $ret[] = "buildSDK/".$filename; return trigger_action($fn, $ret); -- 2.39.2