]> git.draconx.ca Git - dxcommon.git/blobdiff - snippet/exported.sh.in
exported.sh: Work around DJGPP shell redirection bug.
[dxcommon.git] / snippet / exported.sh.in
index f9d3c4043511767cded4010d9578154b54079fdb..f5ef7b09b63b85737d9a4aeb1180684a2c36a218 100644 (file)
@@ -41,13 +41,13 @@ case $# in
 *)
   exec 4>&1
   eval_cmd=`exec 3>&1
-    { @NM@ $OBJS 3>&-
+    { { @NM@ $OBJS; } 3>&-
       echo "(exit $?) || exit $?" >&3
-    } | { @GLOBAL_SYMBOL_PIPE@ 3>&-
+    } | { { @GLOBAL_SYMBOL_PIPE@; } 3>&-
       echo "(exit $?) || exit $?" >&3
-    } | { @SED@ 's/^.* //' 3>&-
+    } | { { @SED@ 's/^.* //'; } 3>&-
       echo "(exit $?) || exit $?" >&3
-    } | { LC_ALL=C sort -u 3>&-
+    } | { { LC_ALL=C sort -u; } 3>&-
       echo "(exit $?) || exit $?" >&3
     } >&4`
   exec 4>&-