place generated bindings files in gtk2_ardour/

This may have some potential cross-platform issues if fmt-bindings is
ever meant to run on Windows.
This commit is contained in:
Paul Davis 2015-07-11 09:26:49 -04:00
parent 03350db8f0
commit 73170bfc53
1 changed files with 1 additions and 2 deletions

View File

@ -208,8 +208,7 @@ while (<>) {
($group_key,$group_file,$group_name) = split (/\s+/, $_, 3);
if ($make_accelmap && $ardour_bindings) {
if (!exists ($group_handles{$group_file})) {
print "Try to open ", $group_file . ".bindings\n";
open $group_handles{$group_file}, ">", $group_file . ".bindings" or die "Cannot open bindings file " . $group_file . ".bindings: $!"
open $group_handles{$group_file}, ">", "gtk2_ardour/" . $group_file . ".bindings" or die "Cannot open bindings file " . $group_file . ".bindings: $!"
}
$group_files{$group_key} = $group_handles{$group_file}
}