syphilis has asked for the wisdom of the Perl Monks concerning the following question:
The intention is to append ";build" to $ENV{PATH} but it instead appends " ;build".PATH += ;build
which results in this entry in the generated Makefile:$inherited =~ s/($target)/.IMPORT: PATH\nPATH += ;build\n.EXPORT: PATH +\n$1/;
Cheers,.IMPORT: PATH PATH += ;build .EXPORT: PATH test_dynamic :: subdirs-test_dynamic $(FULLPERLRUN) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "u +ndef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_ +LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A bug in GNU make ?
by swl (Prior) on Aug 27, 2023 at 09:42 UTC | |
by syphilis (Archbishop) on Aug 27, 2023 at 12:54 UTC | |
by swl (Prior) on Aug 27, 2023 at 22:39 UTC | |
by syphilis (Archbishop) on Aug 28, 2023 at 01:19 UTC | |
|
Re: A bug in GNU make ?
by Anonymous Monk on Aug 27, 2023 at 08:53 UTC |