From f3de5b11121f910371c1e24ceb439dbc397723b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Forysiuk?= Date: Mon, 27 Feb 2012 00:36:24 +0100 Subject: [PATCH] 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 file changed, 6 insertions(+), 4 deletions(-) diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori index 8e0f3770..4e7af807 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