X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Fnsdeps;h=04c4b96e95ec481f40f8a8d46812c94de79b26ee;hb=refs%2Fheads%2Faccepted%2Ftizen_8.0_unified;hp=e8ce2a4d704abc37ff80fd4515259ca449e83b7b;hpb=7eb275f92d817919f06820558d309cd828526e4a;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/scripts/nsdeps b/scripts/nsdeps index e8ce2a4..04c4b96 100644 --- a/scripts/nsdeps +++ b/scripts/nsdeps @@ -44,7 +44,7 @@ generate_deps() { for source_file in $mod_source_files; do sed '/MODULE_IMPORT_NS/Q' $source_file > ${source_file}.tmp offset=$(wc -l ${source_file}.tmp | awk '{print $1;}') - cat $source_file | grep MODULE_IMPORT_NS | LANG=C sort -u >> ${source_file}.tmp + cat $source_file | grep MODULE_IMPORT_NS | LC_ALL=C sort -u >> ${source_file}.tmp tail -n +$((offset +1)) ${source_file} | grep -v MODULE_IMPORT_NS >> ${source_file}.tmp if ! diff -q ${source_file} ${source_file}.tmp; then mv ${source_file}.tmp ${source_file}