Drop use of $(...) for popen() and system() calls
authorJonas Fonseca <fonseca@diku.dk>
Wed, 23 Apr 2008 19:14:08 +0000 (21:14 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 23 Apr 2008 21:52:09 +0000 (23:52 +0200)
commit50efd29ce94c4dd90421db29d2516fdde675f8e8
treefdfe932d3527a34b9cf1f1c76fc1969aab729536
parent67e3046aa0b07e53833b2262bbdc22b14d6b1f9e
Drop use of $(...) for popen() and system() calls

Some shells don't support it, like the jsh that is used as /bin/sh on
some Solaris boxes, which results in the following error:

sh: syntax error at line 1: `(' unexpected

Fix the only user (reading remote information via git-ls-remote) to use
a much simpler shell syntax.

Reported by SungHyun Nam.
NEWS
tig.c