scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit a025e926f0400fd6a07922a083b5b7e49f99214c
parent e741a5d5156f49f7261f7d7331a2aadb8e50e6d3
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 16 May 2018 20:39:05 +0000

Make more stable mkdep.sh

This patch fixes the locale used by sort and it also uses the -s
option of sort.

Diffstat:
Mmkdep.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkdep.sh b/mkdep.sh @@ -10,4 +10,4 @@ do dir=`dirname $i | sed 's,/*$,,'` sed -n '/#include "/ s,#include "\(.*\)",'"$file: $dir"'/\1,p' $i done | -sort) > $$.tmp && mv $$.tmp Makefile +LC_ALL=C sort -s) > $$.tmp && mv $$.tmp Makefile