You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/07/22 07:27:19 UTC

[4/7] ios commit: CB-7162 - cordova-ios pre-commit hook can't find uncrustify in path in Git GUI apps

CB-7162 - cordova-ios pre-commit hook can't find uncrustify in path in Git GUI apps


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/822d2a5f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/822d2a5f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/822d2a5f

Branch: refs/heads/wkwebview
Commit: 822d2a5fdfa91da2f6717c3e2c4334149007f27d
Parents: ee5a9a8
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Jul 17 13:24:22 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Jul 17 13:25:23 2014 -0700

----------------------------------------------------------------------
 hooks/pre-commit | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/822d2a5f/hooks/pre-commit
----------------------------------------------------------------------
diff --git a/hooks/pre-commit b/hooks/pre-commit
index 80550f1..1611f52 100755
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -18,6 +18,8 @@
 # under the License.
 #
 
+PATH=$PATH:/usr/local/bin:/usr/local/sbin
+
 # Redirect output to stderr.
 exec 1>&2
 test $SKIP_UNCRUSTIFY && exit 0