pwrtray: Compilefix on avr32
[openwrt/svn-archive/archive.git] / net / shorewall-lite / patches / 130-portability.patch
1 --- a/install.sh
2 +++ b/install.sh
3 @@ -295,13 +295,15 @@ cd manpages
4
5 for f in *.5; do
6 gzip -c $f > $f.gz
7 - run_install -D -m 644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz
8 + run_install -d ${PREFIX}/usr/share/man/man5
9 + run_install -m 644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz
10 echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man5/$f.gz"
11 done
12
13 for f in *.8; do
14 gzip -c $f > $f.gz
15 - run_install -D -m 644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz
16 + run_install -d ${PREFIX}/usr/share/man/man8
17 + run_install -m 644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz
18 echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man8/$f.gz"
19 done
20