Also cope with patch files lacking a file extensions, certain versions
of the Python patchwork client appear to omit it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
mkdir "pwclient.get.$$"
cd "pwclient.get.$$"
pwclient get "$1"
- mv *.patch "../$1.patch"
+ mv * "../$1.patch"
cd ..
rmdir "pwclient.get.$$"
)}
esac
case "$remote_host" in
- git.lede-project.org)
+ git.lede-project.org|git.openwrt.org)
case "$remote_repo" in
- source.git)
+ source.git|openwrt/openwrt.git)
echo "Merged into ${remote_ref##*/} with"
;;
- lede/*/staging.git)
+ lede/*/staging.git|openwrt/staging/*.git)
echo "Merged into my staging tree with"
;;
*)