radare2/sys/sync.sh
VisualPrankDude 378e4d9d22 Update sync.sh
not sure if this is really an improvement, now it does not need bash and does not use [ ]
2014-02-25 01:36:51 +01:00

8 lines
212 B
Bash
Executable File

#!/bin/sh
if ! git remote | grep upstream > /dev/null
then
git remote add upstream https://github.com/radare/radare2.git
fi
test -d radare2 && git fetch upstream && git rebase --onto master upstream/master