Avoid using pushd/popd here for simplicity.

This commit is contained in:
Arfonzo J. Coward
2013-12-03 09:33:06 +00:00
parent 6490a5f66a
commit 458b2f783e

View File

@@ -56,10 +56,9 @@ BUILD_REQUIRES="
BUILD()
{
mkdir -p build
pushd build
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd`
make
popd
cd build
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" ..
make
}
INSTALL()