Follow-up Comment #2, bug #64444 (project gforth):

That works, but it leaves a bunch of files owned by root in
./local/share/swig/3.0.9.  

Since you are installing it into a subdirectory, you don't actually need the
sudo in install-swig.sh:


diff --git a/install-swig.sh b/install-swig.sh
index 07852f1c..0f9e0559 100755
--- a/install-swig.sh
+++ b/install-swig.sh
@@ -3,4 +3,4 @@ which sudo || alias sudo=eval
 which nproc || alias nproc="echo 1"

 git clone https://github.com/GeraldWodni/swig.git
-(cd swig && ./autogen.sh && ./configure "$@" && make -j`nproc` && sudo make
install)
+(cd swig && ./autogen.sh && ./configure "$@" && make -j`nproc` &&  make
install)




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64444>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to