From a6e3cb53b9a386a13ef644da3f910771a83c2dab Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 17 Aug 2015 14:18:07 +0200 Subject: [PATCH] Use /usr/bin/env to find perl This is nicer in nix-shell. --- src/script/hydra-create-user | 2 +- src/script/hydra-evaluator | 2 +- src/script/hydra-init | 2 +- src/script/hydra-notify | 2 +- src/script/hydra-s3-backup-collect-garbage | 2 +- src/script/hydra-send-stats | 2 +- src/script/hydra-server | 2 +- src/script/hydra-update-gc-roots | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/script/hydra-create-user b/src/script/hydra-create-user index ec971ace..dc4a4381 100755 --- a/src/script/hydra-create-user +++ b/src/script/hydra-create-user @@ -1,4 +1,4 @@ -#! /var/run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use Hydra::Schema; diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index e8efc75b..c9c359b1 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -1,4 +1,4 @@ -#! /run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use utf8; diff --git a/src/script/hydra-init b/src/script/hydra-init index 2944b240..d813d9fe 100755 --- a/src/script/hydra-init +++ b/src/script/hydra-init @@ -1,4 +1,4 @@ -#! /var/run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use Hydra::Schema; diff --git a/src/script/hydra-notify b/src/script/hydra-notify index cf8599d3..1e68dde7 100755 --- a/src/script/hydra-notify +++ b/src/script/hydra-notify @@ -1,4 +1,4 @@ -#! /run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use utf8; diff --git a/src/script/hydra-s3-backup-collect-garbage b/src/script/hydra-s3-backup-collect-garbage index b68add61..ae6423f7 100755 --- a/src/script/hydra-s3-backup-collect-garbage +++ b/src/script/hydra-s3-backup-collect-garbage @@ -1,4 +1,4 @@ -#! /var/run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use File::Basename; diff --git a/src/script/hydra-send-stats b/src/script/hydra-send-stats index a96a1939..d014bfe9 100755 --- a/src/script/hydra-send-stats +++ b/src/script/hydra-send-stats @@ -1,4 +1,4 @@ -#! /run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use utf8; diff --git a/src/script/hydra-server b/src/script/hydra-server index 335ff8ef..b8922e93 100755 --- a/src/script/hydra-server +++ b/src/script/hydra-server @@ -1,4 +1,4 @@ -#! /var/run/current-system/sw/bin/perl +#! /usr/bin/env perl BEGIN { $ENV{CATALYST_SCRIPT_GEN} = 40; diff --git a/src/script/hydra-update-gc-roots b/src/script/hydra-update-gc-roots index 7b6fb806..db46193a 100755 --- a/src/script/hydra-update-gc-roots +++ b/src/script/hydra-update-gc-roots @@ -1,4 +1,4 @@ -#! /var/run/current-system/sw/bin/perl +#! /usr/bin/env perl use strict; use File::Path;