https://bugs.kde.org/show_bug.cgi?id=379652

            Bug ID: 379652
           Summary: konsole pane shows delete confirmation for temporary
                    file
           Product: kdevelop
           Version: 5.1.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: lars.diec...@googlemail.com
  Target Milestone: ---

reproduction
------------

    alias rm='/bin/rm -i'
    start kdevelop
    open the konsole pane

result
------

kdevelop! is run, which in turn calls kdevplatform_shell_environment.sh
output of these shell script is shown in the pane
there's a delete confirmation that's impossible to answer
the temporary file hangs around after the scripts finish

what should happen
------------------

don't show a delete confirmation
do delete the temporary file

remedy
------

add the `-f` option

diff --git a/kdevplatform_shell_environment.sh
b/kdevplatform_shell_environment.sh
index 58b536e..6104276 100755
--- a/kdevplatform_shell_environment.sh
+++ b/kdevplatform_shell_environment.sh
@@ -786,7 +786,7 @@ function setenv! {
         executeInAppSync "if ! [ -e $(getCurrentShellEnvPath) ]; then touch
$(getCurrentShellEnvPath); fi" ""
     fi
     source $TEMP
-    rm $TEMP
+    rm -f $TEMP
 }

 function showenv! {

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to