diff --git a/.githooks/license-maintainer/pre-commit b/.githooks/license-maintainer/pre-commit index 7e37839..bef5ca0 100755 --- a/.githooks/license-maintainer/pre-commit +++ b/.githooks/license-maintainer/pre-commit @@ -1,6 +1,6 @@ #!/usr/bin/perl -# Copyright 2013, 2015 Nitor Creations Oy, Jonas Berlin +# Copyright 2013, 2015, 2017 Nitor Creations Oy, Jonas Berlin # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,6 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +BEGIN { + push @INC, '.'; +} + use strict; use warnings; use IPC::Open2;