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 ec971ace9..dc4a43813 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 e8efc75b9..c9c359b16 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 2944b2405..d813d9fec 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 cf8599d39..1e68dde7b 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 b68add613..ae6423f74 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 a96a19391..d014bfe99 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 335ff8efc..b8922e933 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 7b6fb8064..db46193ac 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;