Commit b4d5faa9 authored by Ciro Santilli's avatar Ciro Santilli

chown after sudo install

parent 9d270d80
......@@ -28,6 +28,9 @@ done
make_install() {
if $1; then
sudo make install
# Or else the next non-sudo install will fail, because this generates some
# root owned files like install_manifest.txt under the build directory.
sudo chown -R "$USER" .
else
make install
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment