Permalink
Browse files

OS-1493 configure should work as non-root user

  • Loading branch information...
1 parent 8cd36ce commit f9709d52ff8ed76e7625e63fb0e2ff36e6ec10b6 @jclulow jclulow committed Oct 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure
View
@@ -57,7 +57,7 @@ if [ "${HAVE_PKG}" == "true" ]; then
for pkg in gmake binutils autoconf automake \
bison flex libtool-base python24 p5-XML-Parser \
libxslt gcc-compiler sun-jre6 sun-jdk6 gmp mpfr nodejs; do
- pkg_info -qe ${pkg} || pkgin -y install ${pkg}
+ pkg_info -qe ${pkg} || ${ROOTCMD} pkgin -y install ${pkg}
done
fi
fi
@@ -95,7 +95,7 @@ if [ ! -f "/opt/SUNWspro/prod/bin/cc" ]; then
exit 1
fi
fi
-[[ -e /opt/SUNWspro/sunstudio12.1 ]] || (cd /opt/SUNWspro && ln -s . sunstudio12.1)
+[[ -e /opt/SUNWspro/sunstudio12.1 ]] || (cd /opt/SUNWspro && ${ROOTCMD} ln -s . sunstudio12.1)
if [[ ${GLOBAL_ZONE} -eq 1 ]]; then

0 comments on commit f9709d5

Please sign in to comment.