slitaz-base-files rev 294

Makefile: escape $
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 31 11:55:04 2015 +0200 (2015-12-31)
parents a799a0c177f3
children 9fd160a21243
files Makefile
line diff
     1.1 --- a/Makefile	Thu Dec 31 00:05:24 2015 +0200
     1.2 +++ b/Makefile	Thu Dec 31 11:55:04 2015 +0200
     1.3 @@ -69,7 +69,7 @@
     1.4  install: install-msg
     1.5  	cp -a rootfs/* $(DESTDIR)/
     1.6  	# strip "man" script
     1.7 -	sed -i '/^[^#]*$/,${s|^\t*||;/^ *#/d;/^$/d}' $(DESTDIR)/usr/bin/man
     1.8 +	sed -i '/^[^#]*$$/,$${s|^\t*||;/^ *#/d;/^$$/d}' $(DESTDIR)/usr/bin/man
     1.9  	install -m 0755 -d $(DESTDIR)/usr/share/doc/slitaz
    1.10  	cp -a doc/* $(DESTDIR)/usr/share/doc/slitaz
    1.11  	chown -R root:root $(DESTDIR)/usr/share/doc/slitaz