aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-01-22 17:38:55 -0600
committerRob Landley <rob@landley.net>2008-01-22 17:38:55 -0600
commit81d937de94b8804e8122490404c54d0e2e4262a7 (patch)
tree6637fc083fcc86cfa0a3cb971f6a93a2f8890b67
parent841223d68877f4b12b1c08281e6471e58912120b (diff)
downloadtoybox-81d937de94b8804e8122490404c54d0e2e4262a7.tar.gz
Sort newtoys.h by command name, not by USE_ macro.
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 08333959..c5989334 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -22,7 +22,7 @@ function newtoys()
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