Fix sysvinit bug #29758

This commit is contained in:
Werner Fink
2010-05-04 07:50:12 +00:00
parent 1f809110cb
commit ba54bb9ac4
3 changed files with 18 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
all install clean distclean:
$(MAKE) -C src $@
ifeq ($(MAKECMDGOALS),upload)
PACKAGE=sysvinit
VERSION=$(shell sed -rn '1s/.*[[:blank:]]\((.*)\)[[:blank:]].*/\1/p' doc/Changelog)
SVLOGIN=$(shell svn info | sed -rn '/Repository Root:/{ s|.*//(.*)\@.*|\1|p }')
@@ -35,3 +36,4 @@ $(TMP)/$(PACKAGE)-$(VERSION): .svn
svn export . $@
@chmod -R a+r,u+w,og-w $@
@find $@ -type d | xargs -r chmod a+rx,u+w,og-w
endif