Use remote URL for git pull in install scripts ##build

This commit is contained in:
Lazula 2021-11-18 12:20:12 -06:00 committed by pancake
parent 2255bf8b5d
commit 43f98d37a2
4 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ if [ "$1" != "--without-pull" ]; then
git branch | grep "^\* master" > /dev/null
if [ $? = 0 ]; then
echo "WARNING: Updating from remote repository"
git pull
git pull https://github.com/radareorg/radare2 master
fi
fi
else

View File

@ -249,7 +249,7 @@ def main():
# Check arguments
if args.pull:
os.system('git pull')
os.system('git pull https://github.com/radareorg/radare2 master')
if args.project and args.backend == 'ninja':
log.error('--project is not compatible with --backend ninja')
sys.exit(1)

View File

@ -7,7 +7,7 @@ export ANDROID=1
# make clean > /dev/null 2>&1
rm -f libr/include/r_version.h
cp -f dist/plugins-cfg/plugins.termux.cfg plugins.cfg
git pull
git pull https://github.com/radareorg/radare2 master
./preconfigure
./configure-plugins
bash ./configure --with-compiler=termux --prefix=${PREFIX} || exit 1

View File

@ -53,7 +53,7 @@ if [ $WITHOUT_PULL -eq 0 ]; then
git branch | grep "^\* master" > /dev/null
if [ $? = 0 ]; then
echo "WARNING: Updating from remote repository"
git pull
git pull https://github.com/radareorg/radare2 master
fi
fi
fi