Sort newtoys.h by command name, not by USE_ macro.

This commit is contained in:
Rob Landley 2008-01-22 17:38:55 -06:00
parent 841223d688
commit 81d937de94

View File

@ -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