Skip to content

Commit 22b608c

Browse files
committed
Added a reminder to source emperl_config.sh
1 parent 32a3bbb commit 22b608c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build/build.pl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,11 @@ sub verify_hostperl {
232232
if ($perl_mtime>$our_mtime)
233233
{ say STDERR "# config.sh is newer than emperl_config.sh" }
234234
else {
235-
say STDERR "# config.sh is OLDER than emperl_config.sh, forcing a reconfig";
236-
$needs_reconfig=1 }
235+
say STDERR "# config.sh is OLDER than emperl_config.sh";
236+
exit 1 if prompt("Did you remember to run '. emperl_config.sh'? [yN]","n")!~/^\s*y/i;
237+
say STDERR "# ok, forcing a reconfig";
238+
$needs_reconfig=1;
239+
}
237240
}
238241

239242
if ($needs_reconfig) {

0 commit comments

Comments
 (0)