checkout if commit defined
This commit is contained in:
parent
ce846f4fb8
commit
07d7a1a45a
|
@ -84,7 +84,9 @@ function install_toxcore {
|
|||
cd ~/develop
|
||||
git clone $TOXCORE_REPO ~/develop/toxcore
|
||||
cd ~/develop/toxcore
|
||||
if [ $TOXCORE_COMMIT ]; then
|
||||
git checkout $TOXCORE_COMMIT -b $TOXCORE_COMMIT
|
||||
fi
|
||||
autoreconf -i
|
||||
./configure --enable-daemon
|
||||
if [ ! "$?" = "0" ]; then
|
||||
|
|
Loading…
Reference in New Issue