##// END OF EJS Templates
Some versions of sed don't support .\+, so use ..* instead....
Thomas Arendsen Hein -
r3269:6901d354 default
parent child Browse files
Show More
@@ -28,7 +28,7 b' hg.1.gendoc.txt: ../mercurial/commands.p'
28
28
29 install: man
29 install: man
30 for i in $(MAN) ; do \
30 for i in $(MAN) ; do \
31 subdir=`echo $$i | sed -n 's/.\+\.\([0-9]\)$$/man\1/p'` ; \
31 subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
32 mkdir -p $(MANDIR)/$$subdir ; \
32 mkdir -p $(MANDIR)/$$subdir ; \
33 $(INSTALL) $$i $(MANDIR)/$$subdir ; \
33 $(INSTALL) $$i $(MANDIR)/$$subdir ; \
34 done
34 done
General Comments 0
You need to be logged in to leave comments. Login now