summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 11:39:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 11:39:21 -0300
commit786a5f9aea706d50ea3f806923dcbf8100f14626 (patch)
tree207ead2a43fe30823ffd4892774c84c2d3bda1af
parent2c9235a3682749ea18b186212183f839c6945350 (diff)
downloadmediapointer-dvb-s2-786a5f9aea706d50ea3f806923dcbf8100f14626.tar.gz
mediapointer-dvb-s2-786a5f9aea706d50ea3f806923dcbf8100f14626.tar.bz2
Fix mailimport to work with git >= 1.6.0
From: Mauro Carvalho Chehab <mchehab@redhat.com> Newer git's don't create git-<cmd> aliases anymore. In general, distro versions of git still create the aliases. However, if using upstream -git, this will fail. So, use the git <cmd> syntax instead. This is also backward compatible Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rwxr-xr-xmailimport6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailimport b/mailimport
index 0050a1ded..2ff60d1d8 100755
--- a/mailimport
+++ b/mailimport
@@ -186,7 +186,7 @@ proccess_patch ()
exit
fi
- cat $i| git-mailinfo $DIR/msg $DIR/patch >$DIR/author
+ cat $i| git mailinfo $DIR/msg $DIR/patch >$DIR/author
cat $DIR/msg|grep -vi ^CC: >$DIR/msg2
cat $DIR/author|perl -ne "if (m/Author[:]\\s*(.*)\\n/) { \$auth=\$1; } else \
@@ -292,9 +292,9 @@ else
^Content-Transfer-Encoding: 8bit
EOF
- echo git-mailsplit -b $DIR/tmpbox $DIR
+ echo git mailsplit -b $DIR/tmpbox $DIR
echo -n "Number of patches at file: "
- git-mailsplit -b $DIR/tmpbox $DIR
+ git mailsplit -b $DIR/tmpbox $DIR
echo
for i in $DIR/0*; do