[gimp/gimp-2-8] plug-ins: mkgen.pl: fix calls to write_file() routine
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] plug-ins: mkgen.pl: fix calls to write_file() routine
- Date: Wed, 7 Sep 2016 20:39:09 +0000 (UTC)
commit f8ddfbe8cba4616d5e65244a4dd1bdb57a375240
Author: Kristian Rietveld <kris loopnest org>
Date: Wed Sep 7 22:31:23 2016 +0200
plug-ins: mkgen.pl: fix calls to write_file() routine
So files get written in the current directory instead of the root
directory.
plug-ins/common/mkgen.pl | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/mkgen.pl b/plug-ins/common/mkgen.pl
index cee5033..5a25283 100755
--- a/plug-ins/common/mkgen.pl
+++ b/plug-ins/common/mkgen.pl
@@ -7,6 +7,8 @@ require 'util.pl';
*write_file = \&Gimp::CodeGen::util::write_file;
*FILE_EXT = \$Gimp::CodeGen::util::FILE_EXT;
+$destdir = ".";
+
$ignorefile = ".gitignore";
$rcfile = "gimprc.common";
@@ -208,7 +210,7 @@ close RC;
close MK;
close IGNORE;
-&write_file($outmk);
-&write_file($outignore);
-&write_file($outrc);
+&write_file($outmk, $destdir);
+&write_file($outignore, $destdir);
+&write_file($outrc, $destdir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]