Fix lack of gnome-js-common directory in default search path
authorTim Horton <hortont424@gmail.com>
Sat, 2 Jan 2010 21:51:57 +0000 (16:51 -0500)
committerTim Horton <hortont424@gmail.com>
Sat, 2 Jan 2010 21:51:57 +0000 (16:51 -0500)
I accidentally broke this when fixing the pkglibdir/datadir substitution

extensions/Makefile.am
extensions/Seed.js.in

index 2ead093..6f30f2e 100644 (file)
@@ -7,4 +7,4 @@ repldir=$(datadir)/seed
 repl_DATA = repl.js
 
 Seed.js: Seed.js.in
-       $(AM_V_GEN) $(SED) -e "s|%pkglibdir%|$(pkglibdir)|" -e "s|%pkgdatadir%|$(pkgdatadir)|" $< > $@
\ No newline at end of file
+       $(AM_V_GEN) $(SED) -e "s|%pkglibdir%|$(pkglibdir)|" -e "s|%pkgdatadir%|$(pkgdatadir)|" -e "s|%gnomejsdir%|$(GNOME_JS_DIR)|" $< > $@
index 93671cb..947a7e5 100644 (file)
@@ -173,7 +173,7 @@ Seed.printf = function () { print(Seed.sprintf.apply(this, arguments)) };
 
 if(!imports.searchPath || (imports.searchPath.length == 0))
 {
-       imports.searchPath = [ "@GNOME_JS_DIR@",
+       imports.searchPath = [ "%gnomejsdir%",
                               "%pkglibdir%",
                               "%pkgdatadir%",
                               "/usr/local/lib/seed",