summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-01-25 10:25:46 +0200
committerStefan Kost <ensonic@users.sf.net>2010-01-25 10:25:46 +0200
commit192921c6b5848c93e310f0f1cf7e21adcc2efa88 (patch)
treec889b0ab9e355000ff634042a3026f28264a07f2
parentb37791867f938d9ab5ce5d3db63d7115981deb7a (diff)
downloadgtk-doc-192921c6b5848c93e310f0f1cf7e21adcc2efa88.tar.gz
scanobj/gobj: revert the part of prev commit that was removing the use of $RUN
Commit b37791867f938d9ab5ce5d3db63d7115981deb7a was removing the use of the RUN env.
-rw-r--r--gtkdoc-scangobj.in3
-rwxr-xr-xgtkdoc-scanobj.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in
index f3b4b45..0593dbf 100644
--- a/gtkdoc-scangobj.in
+++ b/gtkdoc-scangobj.in
@@ -1605,7 +1605,8 @@ $command = "$LD -o $MODULE-scan $o_file $LDFLAGS";
system("($command)") == 0 or die "Linking of scanner failed: $!\n";
print "gtk-doc: Running scanner $MODULE-scan\n";
-system("(./$MODULE-scan)") == 0 or die "Scan failed: $!\n";
+system("($RUN ./$MODULE-scan)") == 0 or die "Scan failed: $!\n";
+
if (!defined($ENV{"GTK_DOC_KEEP_INTERMEDIATE"})) {
unlink "./$MODULE-scan.c", "./$MODULE-scan.o", "./$MODULE-scan.lo", "./$MODULE-scan";
diff --git a/gtkdoc-scanobj.in b/gtkdoc-scanobj.in
index 920423c..c1589c4 100755
--- a/gtkdoc-scanobj.in
+++ b/gtkdoc-scanobj.in
@@ -845,7 +845,7 @@ $command = "$LD -o $MODULE-scan $o_file $LDFLAGS";
system("($command)") == 0 or die "Linking of scanner failed: $!\n";
print "gtk-doc: Running scanner $MODULE-scan\n";
-system("(./$MODULE-scan)") == 0 or die "Scan failed: $!\n";
+system("($RUN ./$MODULE-scan)") == 0 or die "Scan failed: $!\n";
if (!defined($ENV{"GTK_DOC_KEEP_INTERMEDIATE"})) {
unlink "./$MODULE-scan.c", "./$MODULE-scan.o", "./$MODULE-scan.lo", "./$MODULE-scan";