echo "Cannot chdir to ../mmotm" 1>&2
continue
}
- rsync -avHPz --exclude .git --exclude broken-out.tar.gz --delete ozlabs.org::akpm/mmotm/. .
- # we only use the fist lines of {origin,linux-next}.patch
- [ -f broken-out/origin.patch ] &&
- sed -i 1q broken-out/origin.patch
- [ -f broken-out/linux-next.patch ] &&
- sed -i 1q broken-out/linux-next.patch
+ rsync -avHPz --exclude .git\* --exclude broken-out.tar.gz --delete ozlabs.org::akpm/mmotm/. .
git add -A .
[ "$(git status --porcelain)" ] &&
- git commit -m "$(head -n 1 .DATE)"
+ git commit -m "$(head -n 1 .DATE)"
cd "$origwd"
continue
fi