extract_utils: Fix locale issue with sort
* On some machines, LC_ALL=C is set, causing the sort order of makefiles to be different than those without this locale change that is set * Set LC_ALL=C on all machines for consistent ordering * From 'man sort': The locale specified by the environment affects sort order. Set LC_ALL=C to get the traditional sort order that uses native byte values. * Thanks to haggertk and rashed for verifying this for me Change-Id: I5bbb94b0dfe599a67036de4312e8af913e9b8d30 Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
This commit is contained in:
@@ -595,7 +595,7 @@ function parse_file_list() {
|
|||||||
PRODUCT_COPY_FILES_HASHES+=("$HASH")
|
PRODUCT_COPY_FILES_HASHES+=("$HASH")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done < <(egrep -v '(^#|^[[:space:]]*$)' "$1" | sort | uniq)
|
done < <(egrep -v '(^#|^[[:space:]]*$)' "$1" | LC_ALL=C sort | uniq)
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user