From: Chris Koeritz Date: Sun, 5 Nov 2017 21:31:38 +0000 (-0500) Subject: using variable instead of full path X-Git-Tag: 2.140.90~70 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=51b29ecaced0934142a704e6a96621b70178e0f4;p=feisty_meow.git using variable instead of full path --- diff --git a/scripts/archival/snarf_linux_config.pl b/scripts/archival/snarf_linux_config.pl index 1c7ad042..c6820ace 100644 --- 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; }