Author: bdrewery
Date: Mon Sep  8 17:01:30 2014
New Revision: 271278
URL: http://svnweb.freebsd.org/changeset/base/271278

Log:
  Avoid rs(1) hitting LINE_MAX with custom trees that have large dependencies.

Modified:
  head/tools/make_libdeps.sh

Modified: head/tools/make_libdeps.sh
==============================================================================
--- head/tools/make_libdeps.sh  Mon Sep  8 15:42:47 2014        (r271277)
+++ head/tools/make_libdeps.sh  Mon Sep  8 17:01:30 2014        (r271278)
@@ -89,12 +89,12 @@ main()
        fi
 
        prebuild_libs=$(
-               awk -F"${FS}" '{ print $2 }' ${LIBDEPENDS} |rs 0 1 |sort -u
+               awk -F"${FS}" '{ print $2 }' ${LIBDEPENDS} | tr ' ' '\n' |
+                   sort -u
        )
        echo "Libraries with dependents:"
        echo
-       echo ${prebuild_libs} |
-       rs 0 1
+       echo ${prebuild_libs} | tr ' ' '\n'
        echo
 
        echo "List of interdependencies:"
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to