fix install.sh with pushd/popd