|
Revision 2514, 0.5 kB
(checked in by eridius, 4 years ago)
|
Make Configure.command exit if svn could not be found
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
cd "`echo $0 | sed 's/[^/]*$//'`" |
|---|
| 3 |
|
|---|
| 4 |
cd ./Core |
|---|
| 5 |
rm -rf ./irssi |
|---|
| 6 |
if [[ ! -d .svn && -x /usr/bin/svk ]]; then |
|---|
| 7 |
svk revert -R irssi |
|---|
| 8 |
else |
|---|
| 9 |
svn update irssi |
|---|
| 10 |
fi |
|---|
| 11 |
if (( $? != 0 )); then |
|---|
| 12 |
exit 2 |
|---|
| 13 |
fi |
|---|
| 14 |
tar xzfk irssi.tar.gz >/dev/null 2>&1 |
|---|
| 15 |
cd ./irssi |
|---|
| 16 |
make distclean |
|---|
| 17 |
./configure --enable-ipv6 --enable-ssl --disable-shared --disable-glibtest --with-modules --without-textui --without-bot --without-proxy --without-perl SDKROOT=/Developer/SDKs/MacOSX10.3.0.sdk |
|---|
| 18 |
|
|---|
| 19 |
cd ../.. |
|---|
| 20 |
|
|---|
| 21 |
cd ./Frameworks |
|---|
| 22 |
rm -rf ./*.framework |
|---|
| 23 |
tar xzf frameworks.tar.gz |
|---|