Skip to content
Snippets Groups Projects
Commit c604d6df authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

Import: improve file section labels (dir + method)

parent 223130a4
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ Tools ...@@ -27,6 +27,7 @@ Tools
* support different generations of launch logic * support different generations of launch logic
* support stand-alone atmosphere scripts * support stand-alone atmosphere scripts
* add option to set path to helper script * add option to set path to helper script
* improve file section labels
* setconfig: make output more similar to mkexp conventions * setconfig: make output more similar to mkexp conventions
* remove quotes from section names (may be disabled) * remove quotes from section names (may be disabled)
* fix spaces before inline comments when no value is given * fix spaces before inline comments when no value is given
......
...@@ -98,7 +98,6 @@ sub subst_value($) { ...@@ -98,7 +98,6 @@ sub subst_value($) {
} }
unless($direct) { unless($direct) {
my $i = 0;
print("[files]\n"); print("[files]\n");
my $last_mtd = ''; my $last_mtd = '';
my $last_dir = ''; my $last_dir = '';
...@@ -106,7 +105,7 @@ unless($direct) { ...@@ -106,7 +105,7 @@ unless($direct) {
my ($mtd, $dir, $src, $dst) = @{$file_info{$key}}; my ($mtd, $dir, $src, $dst) = @{$file_info{$key}};
if($last_dir ne $dir || $last_mtd ne $mtd) { if($last_dir ne $dir || $last_mtd ne $mtd) {
my $subst_dir = subst_value($dir); my $subst_dir = subst_value($dir);
printf(" [[section_%02d]]\n", ++$i); print(" [[$subst_dir $mtd]]\n");
print(" .base_dir = $subst_dir\n"); print(" .base_dir = $subst_dir\n");
print(" .method = $mtd\n"); print(" .method = $mtd\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment