[asterisk-bugs] [Asterisk 0014718]: [patch] relax badshell tilde test

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 26 09:42:55 CDT 2009


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=14718 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14718
Category:                   Core/BuildSystem
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-21 19:05 CDT
Last Modified:              2009-10-26 09:42 CDT
====================================================================== 
Summary:                    [patch] relax badshell tilde test
Description: 
The main Makefile has a target test called 'badshell' that tests if DESTDIR
does not happen to have an an-expanded tilde (~). This might be the case if
you run:

  make isntall DESTDIR=~/somewhere/

and the shell wouldn't expand it as expected due to either bugs or lack of
features in it.

However for packaging the Debian package we have, as part of the package
name, '~dfsg' and sometimes also '~rcN'. This is because '~' is a special
character for dpkg: 1.0~1 is a number smaller than 1.0 .

Thus I suggest to relax the test a bit: check for '~/' rather than simply
for '~'.
====================================================================== 

---------------------------------------------------------------------- 
 (0112726) lmadsen (administrator) - 2009-10-26 09:42
 https://issues.asterisk.org/view.php?id=14718#c112726 
---------------------------------------------------------------------- 
I'm closing this for now as there doesn't appear to be a resolution here.
Perhaps it would be best to discuss this on the asterisk-dev mailing list
to get an idea of how this should be resolved. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-26 09:42 lmadsen        Note Added: 0112726                          
2009-10-26 09:42 lmadsen        Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list