projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe038e6
)
using variable instead of full path
author
Chris Koeritz
<fred@gruntose.com>
Sun, 5 Nov 2017 21:31:38 +0000
(16:31 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 5 Nov 2017 21:31:38 +0000
(16:31 -0500)
scripts/archival/snarf_linux_config.pl
patch
|
blob
|
history
diff --git
a/scripts/archival/snarf_linux_config.pl
b/scripts/archival/snarf_linux_config.pl
index 1c7ad0427a05fde7e1db9dec6b794d513c133c3f..c6820ace4f104aa67f1528e77337459806e85cdc 100644
(file)
--- a/
scripts/archival/snarf_linux_config.pl
+++ b/
scripts/archival/snarf_linux_config.pl
@@
-22,7
+22,7
@@
use Env qw(HOME);
# make sure we are running as root. otherwise we have no access to look at many things in /etc.
if ($< != 0) {
printf "This script must be run as root or sudo. Try this:\n";
- printf " sudo -E PERLLIB=\$PERLLIB perl
$0
@ARGV\n";
+ printf " sudo -E PERLLIB=\$PERLLIB perl
\$FEISTY_MEOW_SCRIPTS/archival/snarf_linux_config.pl
@ARGV\n";
exit 1;
}