Revision cb092832
build_all.sh | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
SCRIPT=$(readlink -f $0) |
|
3 |
BUILD_ROOT_DIR=`dirname $SCRIPT` |
|
4 |
|
|
2 |
BUILD_ROOT_DIR=`dirname $0` |
|
5 | 3 |
cd "$BUILD_ROOT_DIR" |
4 |
BUILD_ROOT_DIR=`pwd` |
|
5 |
|
|
6 | 6 |
if [ -n "$ALL_DIR" ] ; then |
7 | 7 |
[ -e "$ALL_DIR" ] || { echo "Directory in \$ALL_DIR does not exist: $ALL_DIR"; exit; } |
8 | 8 |
[ -z "$LIBEVENT_DIR" ] && LIBEVENT_DIR=$ALL_DIR/libevent |
Also available in: Unified diff