summaryrefslogtreecommitdiff
path: root/scripts/get_default_envs.sh
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-07 09:02:28 -0400
committerTom Rini <trini@konsulko.com>2020-05-07 09:02:28 -0400
commit69bf66ad8c0d53cc5e64d0f4f2e3bc9ad18e61aa (patch)
treeb89bafeea8ed15b1403edf892964adaa5003255d /scripts/get_default_envs.sh
parent1259567ae3cd4c84acb9db6ab1fadcdcd26968a9 (diff)
parent5168d7a6264be30f82c1c074e43c24fcacbb4283 (diff)
Merge branch '2020-05-06-master-imports'
- ARM Juno updates - Assorted bugfixes
Diffstat (limited to 'scripts/get_default_envs.sh')
-rwxr-xr-xscripts/get_default_envs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_default_envs.sh b/scripts/get_default_envs.sh
index da86a9d69c..d1f2ce4d5c 100755
--- a/scripts/get_default_envs.sh
+++ b/scripts/get_default_envs.sh
@@ -35,7 +35,7 @@ cp ${env_obj_file_path} ${ENV_OBJ_FILE_COPY}
${OBJCOPY} -O binary -j ".rodata.default_environment" ${ENV_OBJ_FILE_COPY}
# Replace default '\0' with '\n' and sort entries
-tr '\0' '\n' < ${ENV_OBJ_FILE_COPY} | sort -u
+tr '\0' '\n' < ${ENV_OBJ_FILE_COPY} | sort --field-separator== -k1,1 --stable
rm ${ENV_OBJ_FILE_COPY}