File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,25 @@ if which xar-mackyle > /dev/null 2>&1; then
8
8
xar=' xar-mackyle'
9
9
else
10
10
if [ ! -f ./tools/xar ]; then
11
- printf ' \nDownloading and building xar-mackyle into ./tools/xar...'
11
+ echo ' \nDownloading and building xar-mackyle into ./tools/xar...'
12
12
# Compile patched xar
13
- curl -fsSLO https://cloud. github.com/downloads/ mackyle/xar/xar-1.6.1.tar.gz > /dev/null
14
- tar xf xar-1.6.1 .tar.gz > /dev/null
15
- cd xar-1.6.1
13
+ curl -fsSLo xar.tar.gz https://github.com/mackyle/xar/archive /xar-1.6.1.tar.gz > /dev/null
14
+ tar -xzf xar.tar.gz > /dev/null
15
+ cd xar-xar- 1.6.1/xar
16
16
export CFLAGS=' -w'
17
17
export CPPFLAGS=' -w'
18
+ ./autogen.sh --noconfigure > /dev/null
18
19
if ! ./configure --disable-shared > /dev/null; then
19
- echo ' error: could not compile xar-mackyle'
20
- cd ..
20
+ echo ' error: could not compile xar-mackyle'
21
+ cd ../..
21
22
exit 1
22
23
fi
23
24
make > /dev/null
24
- mv src/xar ../tools/xar-mackyle
25
- cd ..
26
- rm -rf xar-1.6.1 xar-1.6.1.tar.gz
25
+ mv src/xar ../../ tools/xar-mackyle
26
+ cd ../..
27
+ rm -rf xar-xar-1.6.1 xar .tar.gz
27
28
unset CFLAGS CPPFLAGS
28
- printf ' \nSigning extension...'
29
+ printf ' Signing extension...'
29
30
fi
30
31
xar=" $( pwd) /tools/xar-mackyle"
31
32
fi
You can’t perform that action at this time.
0 commit comments