install_nulib2: always popd

Y'know, I'm not really sure we should be using pushd and popd.  I do
that interactively, but … do these commands even belong in scripts?
This commit is contained in:
T. Joseph Carter 2018-04-26 15:45:45 -07:00
parent 4ae325f990
commit a84c0b2e8e
1 changed files with 1 additions and 1 deletions

View File

@ -55,8 +55,8 @@ install_nulib2() {
./configure
make
sudo make install
popd >/dev/null
fi
popd >/dev/null
rm -rf "$nulibWork"
else
echo "A2CLOUD: nulib2 is already installed."