Commits

Martin Geisler committed eb9e757

SConstruct: add $PWD to PATH for extract command

  • Participants
  • Parent commits 321d91f

Comments (0)

Files changed (1)

                Glob("src/*.png", strings=True),
                Glob("src/*/*.png", strings=True)]
 
-Command("po/kick-start.pot", txt_files,
-        "extract --copyright-holder 'Martin Geisler <mg@aragost.com>'"
-        " --package-name 'aragost Trifork Mercurial Kick Start'"
-        " --msgid-bugs-address='<mg@aragost.com>'"
-        " $SOURCES > $TARGET")
+env = DefaultEnvironment()
+env.PrependENVPath("PATH", ".")
+
+env.Command("po/kick-start.pot", txt_files,
+            "extract --copyright-holder 'Martin Geisler <mg@aragost.com>'"
+            " --package-name 'aragost Trifork Mercurial Kick Start'"
+            " --msgid-bugs-address='<mg@aragost.com>'"
+            " $SOURCES > $TARGET")
 
 for lang in languages:
     env = Environment(RSTFLAGS="--halt 2", LANG=lang,