changeset 242:c3659856f120

Sort newtoys.h by command name, not by USE_ macro.
author Rob Landley <rob@landley.net>
date Tue, 22 Jan 2008 17:38:55 -0600
parents 4121825716b8
children 6d13d06ec0ac
files scripts/make.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/make.sh	Tue Jan 22 15:33:50 2008 -0600
+++ b/scripts/make.sh	Tue Jan 22 17:38:55 2008 -0600
@@ -22,7 +22,7 @@
   done
 }
 echo "NEWTOY(toybox, NULL, 0)" > generated/newtoys.h
-newtoys | sort >> generated/newtoys.h
+newtoys | sort -t '(' -k3,3  >> generated/newtoys.h
 
 # Extract global structure definitions from toys/*.c