]> git.openstreetmap.org Git - chef.git/commitdiff
Use /usr/bin/env to find ruby. Improves cross platform support
authorGrant Slater <github@firefishy.com>
Thu, 24 Aug 2023 06:15:01 +0000 (07:15 +0100)
committerGrant <github@firefishy.com>
Thu, 24 Aug 2023 16:40:05 +0000 (17:40 +0100)
hooks/pre-commit

index a55ac2a939dc654fe55191696c2be056496d8630..449a8c6f2b2166e4bcd9d5bdbe0ae8f675ef4c21 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
 
 ok = true