4 echo "Usage: Run from inside the directory you want to patch."
7 echo " sync-cwd.sh ../path/to/dir/with/changes"
9 echo "Changes will be applied to your current working directory."
14 PATCH
="../sync-cwd.patch"
16 (cd "$DIR" && make clean
)
17 diff -ruN --exclude=CVS
--exclude=.git .
"$DIR" > "$PATCH"