radare2/sys/sync.sh
pancake e6f2cd0b2a
Remove trailing spaces (#19460)
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing
$ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
2021-12-02 17:39:59 +01:00

8 lines
214 B
Bash
Executable File

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