Commits

Yu-Jie Lin committed dc7798d

hardcoded the path

  • Participants
  • Parent commits 6a60400

Comments (0)

Files changed (1)

 PACKAGE=b.py
+SCRIPT=b.py
 
 INSTALL_TEST_DIR=/tmp/$(PACKAGE)_install_test
 # if version or naming isn't matched to environment, for example, Python 2.6,
 	$@ $(INSTALL_TEST_DIR)
 	./setup.py sdist --dist-dir $(INSTALL_TEST_DIR)
 	$(INSTALL_TEST_DIR)/bin/pip install $(INSTALL_TEST_DIR)/*.tar.gz
-	. $(INSTALL_TEST_DIR)/bin/activate ; b.py --version ; type b.py
+	. $(INSTALL_TEST_DIR)/bin/activate ; type $(SCRIPT)
+	$(INSTALL_TEST_DIR)/bin/$(SCRIPT) --version
 
 .PHONY: build upload install_test $(VENV_PY2_CMD) $(VENV_PY3_CMD)