From: Paweł Forysiuk Date: Sun, 26 Feb 2012 23:36:24 +0000 (+0100) Subject: makedist.midori: Remove debug files after grabbing all files X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3de5b11121f910371c1e24ceb439dbc397723b5;p=midori makedist.midori: Remove debug files after grabbing all files Otherwise we would not remove debug files from folder other than bin --- 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