Added a reminder to source emperl_config.sh

master
Hauke D 7 years ago
parent 32a3bbb8a1
commit 22b608c572

@ -232,8 +232,11 @@ if (-e $config_sh) {
if ($perl_mtime>$our_mtime) if ($perl_mtime>$our_mtime)
{ say STDERR "# config.sh is newer than emperl_config.sh" } { say STDERR "# config.sh is newer than emperl_config.sh" }
else { else {
say STDERR "# config.sh is OLDER than emperl_config.sh, forcing a reconfig"; say STDERR "# config.sh is OLDER than emperl_config.sh";
$needs_reconfig=1 } exit 1 if prompt("Did you remember to run '. emperl_config.sh'? [yN]","n")!~/^\s*y/i;
say STDERR "# ok, forcing a reconfig";
$needs_reconfig=1;
}
} }
if ($needs_reconfig) { if ($needs_reconfig) {

Loading…
Cancel
Save