]> spindle.queued.net Git - midori/commitdiff
makedist.midori: Remove debug files after grabbing all files
authorPaweł Forysiuk <tuxator@o2.pl>
Sun, 26 Feb 2012 23:36:24 +0000 (00:36 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 28 Feb 2012 22:21:36 +0000 (23:21 +0100)
Otherwise we would not remove debug files from folder other than bin

win32/makedist/makedist.midori

index 8e0f3770b4461859f86a10b03a7c00602ce7460c..4e7af807526b8daa89786f3ca3b1f4678c8e1196 100755 (executable)
@@ -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