Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:telephony
wanpipe
wanpipe-01-destdir.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wanpipe-01-destdir.diff of Package wanpipe
From: Jan Engelhardt <jengelh@medozas.de> Upstream: tbd wanpipe/build: fix missing DESTDIR prefix The test is redundant because mkdir -p is used. --- ssmg/sangoma_mgd.trunk/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) Index: wanpipe-3.5.23.6/ssmg/sangoma_mgd.trunk/Makefile =================================================================== --- wanpipe-3.5.23.6.orig/ssmg/sangoma_mgd.trunk/Makefile +++ wanpipe-3.5.23.6/ssmg/sangoma_mgd.trunk/Makefile @@ -148,13 +148,8 @@ install_smg: old_cleanup install -D -m 755 ./rc/safe_sangoma.rc $(DESTDIR)/etc/wanpipe/safe_sangoma.rc; \ fi - @if [ ! -d ${SAFE_D} ]; then \ - mkdir -p ${SAFE_D}; \ - fi - @if [ ! -d ${SMGCTRL_D} ]; then \ - mkdir -p ${SMGCTRL_D}; \ - fi - + mkdir -p ${DESTDIR}${SAFE_D} + mkdir -p ${DESTDIR}${SMGCTRL_D} ifeq "${PRI}" "YES" @echo "PRI control scripts installed"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor