Commits
md_5 authored e2243e9cfc8
1 - | |
1 + | |
2 2 | |
3 3 | PS1="$" |
4 4 | basedir=`pwd` |
5 5 | echo "Rebuilding Forked projects.... " |
6 6 | |
7 - | function applyPatch { |
7 + | applyPatch() { |
8 8 | what=$1 |
9 9 | target=$2 |
10 10 | branch=$3 |
11 11 | cd "$basedir/$what" |
12 12 | git fetch |
13 13 | git reset --hard "$branch" |
14 14 | git branch -f upstream >/dev/null |
15 15 | |
16 16 | cd "$basedir" |
17 17 | if [ ! -d "$basedir/$target" ]; then |