Index: client/deps/pgsql/pgsql.py |
diff --git a/client/deps/pgsql/pgsql.py b/client/deps/pgsql/pgsql.py |
index e1aabf7c49d094ca52ac623cc8721382aa4db8e4..5df7a8d40553dc3ff4f991f934485dce18245eaa 100755 |
--- a/client/deps/pgsql/pgsql.py |
+++ b/client/deps/pgsql/pgsql.py |
@@ -1,6 +1,7 @@ |
#!/usr/bin/python |
import os |
+import common |
from autotest_lib.client.bin import utils |
version = 4 |
@@ -11,9 +12,9 @@ def setup(tarball, topdir): |
utils.get_file('ftp://ftp.postgresql.org/pub/source/v8.3.1/postgresql-8.3.1.tar.bz2', tarball) |
utils.extract_tarball_to_dir(tarball, 'src') |
os.chdir(srcdir) |
- utils.configure('--without-readline --without-zlib --enable-debug --prefix=%s/pgsql' % topdir) |
- utils.make('-j %d' % utils.count_cpus()) |
- utils.make('install') |
+ utils.system ('./configure --without-readline --without-zlib --enable-debug --prefix=%s/pgsql' % topdir) |
+ utils.system('make -j %d' % utils.count_cpus()) |
+ utils.system('make install') |
os.chdir(topdir) |