[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH] make autobuild.sh work with configure --prefix=



This updates add the execution of
    python setup.py configure --prefix=$AUTOBUILD_INSTALL_ROOT
and removes the --root= specification form the
    python setup.py install

The result is that the wrappers (in /usr/bin) work and
there is a good directory tree under $AUTOBUILD_INSTALL_ROOT
Signed-off-by: Gene Czarcinski <gene czarc net>
---
 autobuild.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/autobuild.sh b/autobuild.sh
index c17521d..5961d7b 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -14,11 +14,12 @@ rm -rf MANIFEST dist/*
 # support version-id changes
 export AUTOBUILD_OVERRIDE_VERSION=y
 
+python setup.py configure --prefix=$AUTOBUILD_INSTALL_ROOT
 python setup.py sdist
 
 python setup.py build
 python setup.py test
-python setup.py install --root=$AUTOBUILD_INSTALL_ROOT
+python setup.py install
 
 which /usr/bin/rpmbuild > /dev/null 2>&1 || exit 0
 
-- 
1.8.1.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]