]> git.ipfire.org Git - thirdparty/asterisk.git/commit
build: Relax badshell tilde test to allow for ~ in middle of DESTDIR.
authorWalter Doekes <walter+asterisk@wjd.nu>
Sun, 12 Oct 2014 07:51:50 +0000 (07:51 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Sun, 12 Oct 2014 07:51:50 +0000 (07:51 +0000)
commite9e8e41bf525a6f156d18bc8b1e75ce1dc8f95ab
treee6d61d17475c96056d8cfffe10af9c5df289237b
parent7e6f444e380444962abe456d025356d7e233a59c
build: Relax badshell tilde test to allow for ~ in middle of DESTDIR.

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 install DESTDIR=~/somewhere/

That test also disallowed valid tildes in directory names. The test is
now changed to only trigger on a tilde at the start of the path.

ASTERISK-13797 #close
Reported by: Tzafrir Cohen

Review: https://reviewboard.asterisk.org/r/4064/
........

Merged revisions 425291 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@425292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Makefile