chiark / gitweb /
tg.sh: Avoid use of non-SUS 'echo -e'
authorPetr Baudis <pasky@suse.cz>
Mon, 11 Aug 2008 16:59:52 +0000 (18:59 +0200)
committerPetr Baudis <pasky@suse.cz>
Mon, 11 Aug 2008 16:59:52 +0000 (18:59 +0200)
tg.sh

diff --git a/tg.sh b/tg.sh
index a844b5ed2828a27d8018955913474bb5274040ed..16940f8de6d2dde6fdbf3633cb2a436de50b3e20 100644 (file)
--- a/tg.sh
+++ b/tg.sh
@@ -47,8 +47,8 @@ setup_ours()
 {
        if [ ! -s "$git_dir/info/attributes" ] || ! grep -q topmsg "$git_dir/info/attributes"; then
                {
 {
        if [ ! -s "$git_dir/info/attributes" ] || ! grep -q topmsg "$git_dir/info/attributes"; then
                {
-                       echo -e ".topmsg\tmerge=ours"
-                       echo -e ".topdeps\tmerge=ours"
+                       echo ".topmsg   merge=ours"
+                       echo ".topdeps  merge=ours"
                } >>"$git_dir/info/attributes"
        fi
        if ! git config merge.ours.driver >/dev/null; then
                } >>"$git_dir/info/attributes"
        fi
        if ! git config merge.ours.driver >/dev/null; then