bugGNU Screen - Bugs: bug #66138, uninstall attempts to remove...

 
 

bug #66138: uninstall attempts to remove directory specified using DESTDIR variable if variable ETCSCREENRC not set

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 Release:  5.0.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 29 Aug 2024 05:48:35 AM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-573e.
Corresponding source code