ia64/xen-unstable

view freebsd-5.3-xen-sparse/fbsdxensetup @ 4750:efa6730ad90e

bitkeeper revision 1.1159.258.112 (4277a730mvnFSFXrxJpVRNk8hjD4Vg)

[PATCH] Mkbuildtree little fix

Hi, here is a really small fix for mkbuildtree.

With my 'find' version [1], I get many of these warning when using mkbuildtree:

find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after it).
Please specify options before other arguments.

My patch just correct the ordering of the options, it should be
harmless, but I didn't test with other versions of find.

Regards

[1] find --version
GNU find version 4.2.20
Features enabled: D_TYPE O_NOFOLLOW(enabled)

xen-unstable-mkbuildtree-find-maxpath.patch:
author ydroneaud@mandriva.com[kaf24]
date Tue May 03 16:30:40 2005 +0000 (2005-05-03)
parents 3a5d8cd66c0b
children a01199a95070
line source
1 #!/bin/csh -f
3 setenv XENROOT `bk root`
4 rm -rf $XENROOT/fbsdtmp $XENROOT/freebsd-5.3-xenU
5 mkdir -p $XENROOT/fbsdtmp
6 cd $XENROOT/fbsdtmp
7 echo "step 1"
8 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.aa
9 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ab
10 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ac
11 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ad
12 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ae
13 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.af
14 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ag
15 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ah
16 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ai
17 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.aj
18 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.ak
19 wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/ssys.al
20 mkdir -p foo
21 cat ssys.?? | tar --unlink -xpzf - -C foo/
22 mkdir -p $XENROOT/freebsd-5.3-xenU
23 mv foo/sys/* $XENROOT/freebsd-5.3-xenU
24 cd $XENROOT
25 rm -rf $XENROOT/fbsdtmp
26 echo "step 2"
27 mkdir -p $XENROOT/freebsd-5.3-xenU/i386-xen/include
28 cd $XENROOT/freebsd-5.3-xenU/i386-xen/include/
29 foreach file (../../i386/include/*)
30 ln -s $file
31 end
32 echo "step 3"
33 cd $XENROOT/freebsd-5.3-xen-sparse
34 echo "step 4"
35 ./mkbuildtree ../freebsd-5.3-xenU
36 echo "step 5"
37 cd $XENROOT/freebsd-5.3-xenU/i386-xen/include
38 ln -s $XENROOT/xen/include/public xen-public
39 echo "done"