-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from glasswalk3r/feature/non-root-user
feature: non root user
- Loading branch information
Showing
3 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# TODO: probably not the best way to setup local::lib, but bash --login | ||
# is not doing it's job | ||
PATH="/home/runner/perl5/bin${PATH:+:${PATH}}" | ||
export PATH | ||
PERL5LIB="/home/runner/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}" | ||
export PERL5LIB | ||
PERL_LOCAL_LIB_ROOT="/home/runner/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}" | ||
export PERL_LOCAL_LIB_ROOT | ||
# shellcheck disable=SC2089 | ||
PERL_MB_OPT="--install_base \"/home/runner/perl5\""; | ||
# shellcheck disable=SC2090 | ||
export PERL_MB_OPT | ||
PERL_MM_OPT="INSTALL_BASE=/home/runner/perl5" | ||
export PERL_MM_OPT | ||
|
||
exec dzil "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
# Configures Perl local::lib properly for interactive sessions | ||
PATH="/home/runner/perl5/bin${PATH:+:${PATH}}"; export PATH; | ||
PERL5LIB="/home/runner/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; | ||
PERL_LOCAL_LIB_ROOT="/home/runner/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; | ||
PERL_MB_OPT="--install_base \"/home/runner/perl5\""; export PERL_MB_OPT; | ||
PERL_MM_OPT="INSTALL_BASE=/home/runner/perl5"; export PERL_MM_OPT; |