mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 00:20:52 +00:00
Use remote URL for git pull in install scripts ##build
This commit is contained in:
parent
2255bf8b5d
commit
43f98d37a2
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user