Improvements to checkout-deps.sh (bug 6054, r=ds).
This commit is contained in:
parent
ab6971656b
commit
e95c2ba0b9
@ -19,8 +19,8 @@ fi
|
|||||||
|
|
||||||
if [ ! -d "sourcemod-central" ]; then
|
if [ ! -d "sourcemod-central" ]; then
|
||||||
if [ ! -d "sourcemod-1.5" ]; then
|
if [ ! -d "sourcemod-1.5" ]; then
|
||||||
mkdir -p sm-dependencies
|
echo "Could not find a SourceMod repository; make sure you aren't running this script inside it."
|
||||||
cd sm-dependencies
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -90,3 +90,18 @@ do
|
|||||||
checkout
|
checkout
|
||||||
done
|
done
|
||||||
|
|
||||||
|
`python -c "import ambuild2"`
|
||||||
|
if [ $? -eq 1 ]; then
|
||||||
|
name=ambuild
|
||||||
|
path=ambuild
|
||||||
|
checkout
|
||||||
|
|
||||||
|
cd ambuild
|
||||||
|
if [ $iswin -eq 1 ]; then
|
||||||
|
python setup.py install
|
||||||
|
else
|
||||||
|
python setup.py build
|
||||||
|
echo "About to install AMBuild - press Ctrl+C to abort, otherwise enter your password for sudo."
|
||||||
|
sudo python setup.py install
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user