aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-24 06:38:54 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-24 06:38:54 +0000
commit9602abd172259d2f8cbf24070f4f0ba2ce70d7ee (patch)
treebb3bd0d270264d945002b579925496d9cf17b6f6
parent8a5169bde6d9de30945c22eb9b38bffccea98ea2 (diff)
downloadpaludis-9602abd172259d2f8cbf24070f4f0ba2ce70d7ee.tar.gz
paludis-9602abd172259d2f8cbf24070f4f0ba2ce70d7ee.tar.xz
Name CONFIG_PROTECTed files in the same way Portage does.
-rwxr-xr-xebuild/utils/merge2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebuild/utils/merge b/ebuild/utils/merge
index dbb8176..11cd907 100755
--- a/ebuild/utils/merge
+++ b/ebuild/utils/merge
@@ -55,7 +55,7 @@ make_cfgpro_filename()
local fn="$(basename ${1})" i=0
while [[ -e "${2}/${fn}" &&
"$(md5sum "${2}/${fn}" |cut -d\ -f 1)" != "$(md5sum "${1}" |cut -d\ -f 1)" ]]; do
- fn="._cfg$(printf '%.4i' ${i})$(basename ${1})"
+ fn="._cfg$(printf '%.4i' ${i})_$(basename ${1})"
(( ++i ))
done
echo ${fn}