[Xfce4-commits] <midori:master> makedist.midori: Remove debug files after grabbing all files

Christian Dywan noreply at xfce.org
Tue Feb 28 23:56:02 CET 2012


Updating branch refs/heads/master
         to f3de5b11121f910371c1e24ceb439dbc397723b5 (commit)
       from 4fa5bcf7210770f8e6465b886acb66c6c7c363c1 (commit)

commit f3de5b11121f910371c1e24ceb439dbc397723b5
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Mon Feb 27 00:36:24 2012 +0100

    makedist.midori: Remove debug files after grabbing all files
    
    Otherwise we would not remove debug files from folder other than bin

 win32/makedist/makedist.midori |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index 8e0f377..4e7af80 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -119,10 +119,6 @@ mkdir $workdir/bin
 cp -L $files $workdir/bin
 popd > /dev/null
 
-if [ "$DEBUG_BUILD" == "" ];then
-    find -iname *.debug -exec rm {} \;
-fi
-
 echo -n .
 
 # copy etc
@@ -160,6 +156,12 @@ grab_files share midori.mo
 
 grab_files share webkitgtk-1.0
 
+if [ "$DEBUG_BUILD" == "" ];then
+    pushd $workdir > /dev/null
+    find -iname *.debug -exec rm {} \;
+    popd > /dev/null
+fi
+
 # copy locales for gtk
 # so we have translated stock items, file dialogs
 


More information about the Xfce4-commits mailing list