https://github.com/nichtraunzer/ods-pre-commit-hooks/blob/c4cf81403f375383a305f2a2c946e8e4093ce9df/hooks/createl2o.sh#L23 In case no local variable is defined the pre-commit hook should not fail.