diff options
| author | Paul Buetow <paul@buetow.org> | 2026-08-02 16:28:59 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-08-02 16:28:59 +0300 |
| commit | 04967594c799619cf3bc2df54204f30aae112b2d (patch) | |
| tree | a26ad746d3d95d02524be5e6208d797f25207f9f /frontends | |
| parent | d12c07d60ab15ae04f5955576253ba189b21f5ac (diff) | |
gogios: read check_shuriken_age from $HOME/git/shuriken.sh (Rex __FILE__ is internal)
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/Rexfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile index b673897..4395717 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -11,7 +11,6 @@ use Rex -feature => [ '1.14', 'exec_autodie' ]; use Rex::Logger; use File::Slurp; -use File::Basename qw(dirname); # REX CONFIG SECTION @@ -652,9 +651,9 @@ task 'gogios', mode => '744'; # Shuriken album-age check plugin (canonical copy lives in the shuriken.sh - # repo; read it from the sibling checkout so there is one source of truth). + # repo; read it from the homelab checkout so there is one source of truth). file '/usr/local/bin/check_shuriken_age', - content => read_file( dirname(__FILE__) . '/../../shuriken.sh/contrib/check_shuriken_age' ), + content => read_file( $ENV{HOME} . '/git/shuriken.sh/contrib/check_shuriken_age' ), owner => 'root', group => 'wheel', mode => '755'; |
