diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2011-04-27 08:23:53 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-04-27 10:18:33 -0600 |
commit | 6fbe9796bd7c04163a5fc1c24ce6dd5bd3036bb1 (patch) | |
tree | 3326ee6ae4f92313c0284cc54ebbc813a27139ee /gnulib-tool | |
parent | ca1502f78a51c83c3443b3f3cdffdca39cdedf40 (diff) | |
download | gnulib-6fbe9796bd7c04163a5fc1c24ce6dd5bd3036bb1.tar.gz |
Change gnulib-tool to support NetBSD's join
For backwards compatibility, the 4.4BSD join used by NetBSD supports a
"-a" option as if it was "-a 1 -a 2". Unfortunately, this was done in
such a way that "-a 1" and "-a 2" need to be passed as "-a1" or "-a2".
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-x | gnulib-tool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnulib-tool b/gnulib-tool index 9461027fe7..49221f022a 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -2522,7 +2522,7 @@ func_show_module_list () echo "Module list with included dependencies (indented):" echo "$specified_modules" | sed -e '/^$/d' -e 's/$/| /' > "$tmp"/specified-modules echo "$modules" | sed -e '/^$/d' \ - | LC_ALL=C join -t '|' -a 2 "$tmp"/specified-modules - \ + | LC_ALL=C join -t '|' -a2 "$tmp"/specified-modules - \ | sed -e 's/^\(.*\)|.*/|\1/' -e 's/^/ /' -e 's/^ |\(.*\)$/ '"${bold_on}"'\1'"${bold_off}"'/' } |