Support the --local option to acprep, which says not to use ~/Products.

This commit is contained in:
John Wiegley 2008-04-24 00:34:19 -04:00
parent cb0a436d94
commit 4d9339a08a

4
acprep
View file

@ -19,6 +19,7 @@ autoconf
HERE="$PWD"
if [ "$1" != "--local" ]; then
if [ -d "$HOME/Products" ]; then
projdir="$HOME/Products/$(basename $HERE)"
if [ ! -d "$projdir" ]; then
@ -26,6 +27,9 @@ if [ -d "$HOME/Products" ]; then
fi
cd "$projdir" || (echo "Cannot change to $projdir"; exit 1)
fi
else
shift 1
fi
INCDIRS="-I/opt/local/include -I/usr/local/include -I/usr/include/httpd/xml"
#INCDIRS="$INCDIRS -I/sw/include/libofx"