summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-rwxr-xr-xmove/make_live_tree_boot10
1 files changed, 9 insertions, 1 deletions
diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot
index 73422dab5..379f60c8d 100755
--- a/move/make_live_tree_boot
+++ b/move/make_live_tree_boot
@@ -127,7 +127,15 @@ if (!@ARGV) {
create_light_tree('boot', \@boot_list);
create_light_tree('totem', \@totem_list);
foreach my $lang (@ALLOWED_LANGS) {
- my @list = map { my $s = $_; $s =~ s/__LANG__/$lang/; if_(-e $s, $s) } @always_i18n_list;
+ my @list = map {
+ my $s = $_;
+ $s =~ s/__LANG__/$lang/;
+ if (readlink($s) =~ m!^[^/]!) {
+ system('cp', $s, "$s-");
+ rename "$s-", $s;
+ }
+ if_(-e $s, $s);
+ } @always_i18n_list;
create_light_tree("always_i18n_$lang", \@list);
}
create_totem_links('totem', \@totem_list_orig);