[Bug 65721] when running make install as root, run make as user before.

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Tue Oct 28 19:01:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65721     
amilcar at ida.ing.tu-bs.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From amilcar at ida.ing.tu-bs.de  2003-10-28 19:00 -------
Subject: kdevelop/buildtools/autotools

CVS commit by aclu: 

Fix Bug 65721: when running make install as root, run make as user before 
 
CCMAIL: 65721-done at bugs.kde.org 


  M +5 -0      autoprojectpart.cpp   1.121


--- kdevelop/buildtools/autotools/autoprojectpart.cpp  #1.120:1.121
@@ -928,4 +928,9 @@ void AutoProjectPart::slotInstall()
 void AutoProjectPart::slotInstallWithKdesu()
 {
+    // First issue "make" to build the entire project with the current user
+    // This way we make sure all files are up to date before we do the "make install"
+    slotBuild();
+
+    // After that issue "make install" with the root user
     startMakeCommand(buildDirectory(), QString::fromLatin1("install"), true);
 }




More information about the KDevelop-devel mailing list