You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by va...@apache.org on 2009/05/16 21:56:57 UTC

svn commit: r775520 - /lucene/pylucene/trunk/Makefile

Author: vajda
Date: Sat May 16 19:56:57 2009
New Revision: 775520

URL: http://svn.apache.org/viewvc?rev=775520&view=rev
Log:
use more portable shell tricks for Solaris

Modified:
    lucene/pylucene/trunk/Makefile

Modified: lucene/pylucene/trunk/Makefile
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/Makefile?rev=775520&r1=775519&r2=775520&view=diff
==============================================================================
--- lucene/pylucene/trunk/Makefile (original)
+++ lucene/pylucene/trunk/Makefile Sat May 16 19:56:57 2009
@@ -225,14 +225,14 @@
 
 install-test:
 	mkdir -p $(BUILD_TEST)
-	export PYTHONPATH=$(BUILD_TEST); $(GENERATE) --install $(DEBUG_OPT) --install-dir $(BUILD_TEST)
+	PYTHONPATH=$(BUILD_TEST) $(GENERATE) --install $(DEBUG_OPT) --install-dir $(BUILD_TEST)
 
 samples/LuceneInAction/index:
-	export PYTHONPATH=$(BUILD_TEST); cd samples/LuceneInAction; $(PYTHON) index.py
+	cd samples/LuceneInAction; PYTHONPATH=$(BUILD_TEST) $(PYTHON) index.py
 
 test: install-test samples/LuceneInAction/index
-	export PYTHONPATH=$(BUILD_TEST); find test -name 'test_*.py' | xargs -t -n 1 $(PYTHON)
-	export PYTHONPATH=$(BUILD_TEST); ls samples/LuceneInAction/*Test.py | xargs -t -n 1 $(PYTHON)
+	find test -name 'test_*.py' | PYTHONPATH=$(BUILD_TEST) xargs -t -n 1 $(PYTHON)
+	ls samples/LuceneInAction/*Test.py | PYTHONPATH=$(BUILD_TEST) xargs -t -n 1 $(PYTHON)
 
 
 ARCHIVE=pylucene-$(VERSION)-src.tar.gz