URL: <https://savannah.gnu.org/bugs/?66138>
Summary: uninstall attempts to remove directory specified using DESTDIR variable if variable ETCSCREENRC not set Group: GNU Screen Submitter: None Submitted: Thu 29 Aug 2024 05:48:35 AM UTC Category: Build/Install Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 5.0.0 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 29 Aug 2024 05:48:35 AM UTC By: Anonymous When running the following: make DESTDIR=/usr/local install on Makefile line 110, it will run this: rm -f $(DESTDIR)$(ETCSCREENRC) which will be converted to this: rm -f /usr/local because ETCSCREENRC is not defined. There should be a check here to require ETCSCREENRC be defined, and if not, it should not run the above. so change line 110 from this: rm -f $(DESTDIR)$(ETCSCREENRC) to this: if [ "$(ETCSCREENRC)" != "" ]; then rm -f $(DESTDIR)$(ETCSCREENRC) || exit 1; fi _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66138> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature