summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-01-02 20:09:58 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-01-02 20:09:58 +0000
commitb895b297a610c30c2eb80c0433d8e5736a509d53 (patch)
tree8fc24997ba78b1fbd01c21393482b49d53ad72bd /scripts
parentef5c873dbaddc2ac73a2e6c3d19bf1852a877a2e (diff)
Fixed #11184 -- Made it possible to build RPMs with a non-default python executable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpm-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rpm-install.sh b/scripts/rpm-install.sh
index f337a789b1..89cf4dd049 100644
--- a/scripts/rpm-install.sh
+++ b/scripts/rpm-install.sh
@@ -4,7 +4,7 @@
#
# This is what dist.py normally does.
-python setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES"
+%{__python} setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES"
# Sort the filelist so that directories appear before files. This avoids
# duplicate filename problems on some systems.