diff --git a/Netdisco/bin/nd-import-topology b/Netdisco/bin/nd-import-topology index f4d8fe63..e9a77081 100755 --- a/Netdisco/bin/nd-import-topology +++ b/Netdisco/bin/nd-import-topology @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH diff --git a/Netdisco/bin/netdisco-daemon b/Netdisco/bin/netdisco-daemon index 1a96bb62..c36c5f13 100755 --- a/Netdisco/bin/netdisco-daemon +++ b/Netdisco/bin/netdisco-daemon @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH diff --git a/Netdisco/bin/netdisco-db-deploy b/Netdisco/bin/netdisco-db-deploy index b174485b..8e774626 100755 --- a/Netdisco/bin/netdisco-db-deploy +++ b/Netdisco/bin/netdisco-db-deploy @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH diff --git a/Netdisco/bin/netdisco-deploy b/Netdisco/bin/netdisco-deploy index 3119e898..7a6b57c0 100755 --- a/Netdisco/bin/netdisco-deploy +++ b/Netdisco/bin/netdisco-deploy @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH diff --git a/Netdisco/bin/netdisco-do b/Netdisco/bin/netdisco-do index 3b0113a4..8b633d5f 100755 --- a/Netdisco/bin/netdisco-do +++ b/Netdisco/bin/netdisco-do @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH diff --git a/Netdisco/bin/netdisco-rancid-export b/Netdisco/bin/netdisco-rancid-export index 36ee6313..9dd1840e 100755 --- a/Netdisco/bin/netdisco-rancid-export +++ b/Netdisco/bin/netdisco-rancid-export @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH diff --git a/Netdisco/bin/netdisco-web b/Netdisco/bin/netdisco-web index 402da1f0..63bf59da 100755 --- a/Netdisco/bin/netdisco-web +++ b/Netdisco/bin/netdisco-web @@ -22,7 +22,9 @@ BEGIN { die "Sorry, can't find libs required for App::Netdisco.\n" if !exists $ENV{PERLBREW_PERL}; } +} +BEGIN { use Path::Class; # stuff useful locations into @INC and $PATH