Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 10:50:03 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336712 - head/www/py-webware
Message-ID:  <201312171050.rBHAo3qA019655@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Dec 17 10:50:03 2013
New Revision: 336712
URL: http://svnweb.freebsd.org/changeset/ports/336712

Log:
  www/py-webware: fix usage of python
  
  Reported by:	exp-run (PR/184591)

Modified:
  head/www/py-webware/pkg-install

Modified: head/www/py-webware/pkg-install
==============================================================================
--- head/www/py-webware/pkg-install	Tue Dec 17 10:44:07 2013	(r336711)
+++ head/www/py-webware/pkg-install	Tue Dec 17 10:50:03 2013	(r336712)
@@ -46,7 +46,7 @@ add_webkit_account()
 
 compile_python_files()
 {
-	(cd ${WEBWARE_MASTER_DIR} && python install.py --no-password-prompt)
+	(cd ${WEBWARE_MASTER_DIR} && ${PYTHON} install.py --no-password-prompt)
 }
 
 make_webkit_home_dir()
@@ -54,7 +54,7 @@ make_webkit_home_dir()
     # make the default webware user home directory if it doesn't exist yet
     if ! [ -d ${WEBKIT_HOME_DIR} ] ; then
         # make application workdir for webkit user
-        python ${WEBWARE_MASTER_DIR}/bin/MakeAppWorkDir.py \
+        ${PYTHON} ${WEBWARE_MASTER_DIR}/bin/MakeAppWorkDir.py \
                ${WEBKIT_HOME_DIR}
         chown -R root:wheel ${WEBKIT_HOME_DIR}
         echo chown -R ${WEBWARE_USER}:${WEBWARE_GROUP} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312171050.rBHAo3qA019655>