Skip to content

Commit c0ee3bf

Browse files
committed
Format update.sh so it isn't so wide
It's nice to not need such a wide screen to see all the code. Most of it is whitespace anyway.
1 parent 5a77db2 commit c0ee3bf

File tree

1 file changed

+53
-45
lines changed

1 file changed

+53
-45
lines changed

update.sh

Lines changed: 53 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -34,51 +34,59 @@ wget -P download --no-clobber --no-verbose \
3434
rm -rf $include
3535
mkdir -p $include/sys
3636
mkdir -p $sysroot/usr/local/libexec
37-
tar -C $sysroot/usr/local/libexec --strip-components=1 -xf "download/$AvailabilityVersions.tar.gz" "AvailabilityVersions-$AvailabilityVersions/availability.pl"
38-
tar -C $include --strip-components=1 -xf "download/$CarbonHeaders.tar.gz" "CarbonHeaders-$CarbonHeaders/TargetConditionals.h"
39-
tar -C $include --strip-components=2 -xf "download/$Libc.tar.gz" "Libc-$Libc/include"
40-
tar -C $include --strip-components=3 -xf "download/$Libm.tar.gz" "Libm-$Libm/Source/Intel/math.h"
41-
tar -C $include --strip-components=2 -xf "download/$libmalloc.tar.gz" "libmalloc-$libmalloc/include/malloc"
42-
tar -C $include/sys --strip-components=3 -xf "download/$libpthread.tar.gz" "libpthread-$libpthread/include/sys/_pthread"
43-
tar -C $include --strip-components=3 -xf "download/$xnu.tar.gz" "xnu-$xnu/libsyscall/wrappers/gethostuuid.h"
44-
tar -C $include --strip-components=2 -xf "download/$xnu.tar.gz" "xnu-$xnu/bsd/arm/endian.h" \
45-
"xnu-$xnu/bsd/arm/_mcontext.h" \
46-
"xnu-$xnu/bsd/arm/types.h" \
47-
"xnu-$xnu/bsd/i386/endian.h" \
48-
"xnu-$xnu/bsd/i386/_mcontext.h" \
49-
"xnu-$xnu/bsd/i386/types.h" \
50-
"xnu-$xnu/bsd/machine/endian.h" \
51-
"xnu-$xnu/bsd/machine/_mcontext.h" \
52-
"xnu-$xnu/bsd/machine/types.h" \
53-
"xnu-$xnu/bsd/sys/appleapiopts.h" \
54-
"xnu-$xnu/bsd/sys/cdefs.h" \
55-
"xnu-$xnu/bsd/sys/dirent.h" \
56-
"xnu-$xnu/bsd/sys/_endian.h" \
57-
"xnu-$xnu/bsd/sys/errno.h" \
58-
"xnu-$xnu/bsd/sys/fcntl.h" \
59-
"xnu-$xnu/bsd/sys/make_symbol_aliasing.sh" \
60-
"xnu-$xnu/bsd/sys/make_posix_availability.sh" \
61-
"xnu-$xnu/bsd/sys/mman.h" \
62-
"xnu-$xnu/bsd/sys/resource.h" \
63-
"xnu-$xnu/bsd/sys/signal.h" \
64-
"xnu-$xnu/bsd/sys/select.h" \
65-
"xnu-$xnu/bsd/sys/_select.h" \
66-
"xnu-$xnu/bsd/sys/stat.h" \
67-
"xnu-$xnu/bsd/sys/stdio.h" \
68-
"xnu-$xnu/bsd/sys/_types" \
69-
"xnu-$xnu/bsd/sys/types.h" \
70-
"xnu-$xnu/bsd/sys/_types.h" \
71-
"xnu-$xnu/bsd/sys/unistd.h" \
72-
"xnu-$xnu/bsd/sys/wait.h" \
73-
"xnu-$xnu/EXTERNAL_HEADERS/Availability.h" \
74-
"xnu-$xnu/EXTERNAL_HEADERS/AvailabilityInternal.h" \
75-
"xnu-$xnu/libkern/libkern/_OSByteOrder.h" \
76-
"xnu-$xnu/libkern/libkern/arm/OSByteOrder.h" \
77-
"xnu-$xnu/libkern/libkern/i386/_OSByteOrder.h" \
78-
"xnu-$xnu/osfmk/arm/arch.h" \
79-
"xnu-$xnu/osfmk/mach/arm/_structs.h" \
80-
"xnu-$xnu/osfmk/mach/i386/_structs.h" \
81-
"xnu-$xnu/osfmk/mach/machine/_structs.h"
37+
tar -C $sysroot/usr/local/libexec --strip-components=1 -xf "download/$AvailabilityVersions.tar.gz" \
38+
"AvailabilityVersions-$AvailabilityVersions/availability.pl"
39+
tar -C $include --strip-components=1 -xf "download/$CarbonHeaders.tar.gz" \
40+
"CarbonHeaders-$CarbonHeaders/TargetConditionals.h"
41+
tar -C $include --strip-components=2 -xf "download/$Libc.tar.gz" \
42+
"Libc-$Libc/include"
43+
tar -C $include --strip-components=3 -xf "download/$Libm.tar.gz" \
44+
"Libm-$Libm/Source/Intel/math.h"
45+
tar -C $include --strip-components=2 -xf "download/$libmalloc.tar.gz" \
46+
"libmalloc-$libmalloc/include/malloc"
47+
tar -C $include/sys --strip-components=3 -xf "download/$libpthread.tar.gz" \
48+
"libpthread-$libpthread/include/sys/_pthread"
49+
tar -C $include --strip-components=3 -xf "download/$xnu.tar.gz" \
50+
"xnu-$xnu/libsyscall/wrappers/gethostuuid.h"
51+
tar -C $include --strip-components=2 -xf "download/$xnu.tar.gz" \
52+
"xnu-$xnu/bsd/arm/endian.h" \
53+
"xnu-$xnu/bsd/arm/_mcontext.h" \
54+
"xnu-$xnu/bsd/arm/types.h" \
55+
"xnu-$xnu/bsd/i386/endian.h" \
56+
"xnu-$xnu/bsd/i386/_mcontext.h" \
57+
"xnu-$xnu/bsd/i386/types.h" \
58+
"xnu-$xnu/bsd/machine/endian.h" \
59+
"xnu-$xnu/bsd/machine/_mcontext.h" \
60+
"xnu-$xnu/bsd/machine/types.h" \
61+
"xnu-$xnu/bsd/sys/appleapiopts.h" \
62+
"xnu-$xnu/bsd/sys/cdefs.h" \
63+
"xnu-$xnu/bsd/sys/dirent.h" \
64+
"xnu-$xnu/bsd/sys/_endian.h" \
65+
"xnu-$xnu/bsd/sys/errno.h" \
66+
"xnu-$xnu/bsd/sys/fcntl.h" \
67+
"xnu-$xnu/bsd/sys/make_symbol_aliasing.sh" \
68+
"xnu-$xnu/bsd/sys/make_posix_availability.sh" \
69+
"xnu-$xnu/bsd/sys/mman.h" \
70+
"xnu-$xnu/bsd/sys/resource.h" \
71+
"xnu-$xnu/bsd/sys/signal.h" \
72+
"xnu-$xnu/bsd/sys/select.h" \
73+
"xnu-$xnu/bsd/sys/_select.h" \
74+
"xnu-$xnu/bsd/sys/stat.h" \
75+
"xnu-$xnu/bsd/sys/stdio.h" \
76+
"xnu-$xnu/bsd/sys/_types" \
77+
"xnu-$xnu/bsd/sys/types.h" \
78+
"xnu-$xnu/bsd/sys/_types.h" \
79+
"xnu-$xnu/bsd/sys/unistd.h" \
80+
"xnu-$xnu/bsd/sys/wait.h" \
81+
"xnu-$xnu/EXTERNAL_HEADERS/Availability.h" \
82+
"xnu-$xnu/EXTERNAL_HEADERS/AvailabilityInternal.h" \
83+
"xnu-$xnu/libkern/libkern/_OSByteOrder.h" \
84+
"xnu-$xnu/libkern/libkern/arm/OSByteOrder.h" \
85+
"xnu-$xnu/libkern/libkern/i386/_OSByteOrder.h" \
86+
"xnu-$xnu/osfmk/arm/arch.h" \
87+
"xnu-$xnu/osfmk/mach/arm/_structs.h" \
88+
"xnu-$xnu/osfmk/mach/i386/_structs.h" \
89+
"xnu-$xnu/osfmk/mach/machine/_structs.h"
8290

8391
# Generate some files.
8492
$include/sys/make_symbol_aliasing.sh $sysroot $include/sys/_symbol_aliasing.h

0 commit comments

Comments
 (0)