Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers: rip-headers.sh
Date: Mon, 02 Apr 2012 06:02:27
Message-Id: 20120402060214.1DEE72004B@flycatcher.gentoo.org
1 vapier 12/04/02 06:02:14
2
3 Modified: rip-headers.sh
4 Log:
5 include more arch subdirs
6
7 Revision Changes Path
8 1.8 src/patchsets/gentoo-headers/rip-headers.sh
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.8&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.8&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?r1=1.7&r2=1.8
13
14 Index: rip-headers.sh
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/src/patchsets/gentoo-headers/rip-headers.sh,v
17 retrieving revision 1.7
18 retrieving revision 1.8
19 diff -u -r1.7 -r1.8
20 --- rip-headers.sh 24 Nov 2010 07:08:40 -0000 1.7
21 +++ rip-headers.sh 2 Apr 2012 06:02:14 -0000 1.8
22 @@ -41,9 +41,11 @@
23 mkdir -p ${dst}/arch/${a}
24 cp ${src}/arch/${a}/Makefile* ${dst}/arch/${a}/
25 cp ${src}/arch/${a}/Kbuild* ${dst}/arch/${a}/ 2>/dev/null || :
26 - if [[ -e ${src}/arch/${a}/include ]] ; then
27 - cp -r ${src}/arch/${a}/include ${dst}/arch/${a}/
28 - fi
29 + for d in include syscalls ; do
30 + if [[ -e ${src}/arch/${a}/${d} ]] ; then
31 + cp -r ${src}/arch/${a}/${d} ${dst}/arch/${a}/
32 + fi
33 + done
34 fi
35 done
36 # mips has some stupid unique bs