aboutsummaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/functions b/scripts/functions
index c0365eae..9ee0391b 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -2539,8 +2539,7 @@ CT_InstallConfigurationFile()
local path="${1}"
local suffix="${2}"
- CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/bin"
- CT_DoExecLog DEBUG ${install} -m 0755 "${CT_LIB_DIR}/scripts/toolchain-config.in" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${suffix}.config"
- CT_DoExecLog DEBUG ${sed} -i -e 's,@@grep@@,"'"${grep}"'",;' "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${suffix}.config"
- bzip2 -c -9 "${path}" >>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-${suffix}.config"
+ CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}/share"
+ CT_DoExecLog DEBUG ${install} -m 0644 "${path}" "${CT_PREFIX_DIR}/share/${CT_TARGET}-${suffix}.config"
+ CT_DoExecLog DEBUG bzip2 -9 "${CT_PREFIX_DIR}/share/${CT_TARGET}-${suffix}.config"
}