<p>In <a href="https://github.com/geany/geany-plugins/pull/375#discussion_r54353849">build/gtk-bundle-from-msys2.sh</a>:</p>
<pre style='color:#555'>> +            done
> +          rmdir mingw32
> +  fi
> +}
> +
> +cleanup_unnecessary_files() {
> +  echo "Cleanup unnecessary files"
> +  # etc: cleanup development files
> +  rm -rf etc/bash_completion.d
> +  rm -rf etc/dbus-1
> +  rm -rf etc/pkcs11
> +  rm -rf etc/xml
> +  # include: cleanup development files
> +  rm -rf include
> +  # lib: cleanup development files
> +  rm -rf libexec
</pre>
<p>Yeah, the comment is a bit misleading. Sorry.</p>

<pre><code>$ ls -l bundle-plugins/libexec/*
-rwxr-xr-x 1 enrico None  71586 Jul 10  2015 bundle-plugins/libexec/dbus-bash-completion-helper.exe
-rwxr-xr-x 1 enrico None  22546 Jul 10  2015 bundle-plugins/libexec/geoclue-example.exe
-rwxr-xr-x 1 enrico None  26689 Jul 10  2015 bundle-plugins/libexec/geoclue-geonames.exe
-rwxr-xr-x 1 enrico None  54614 Jul 10  2015 bundle-plugins/libexec/geoclue-gsmloc.exe
-rwxr-xr-x 1 enrico None  64544 Jul 10  2015 bundle-plugins/libexec/geoclue-hostip.exe
-rwxr-xr-x 1 enrico None  81757 Jul 10  2015 bundle-plugins/libexec/geoclue-localnet.exe
-rwxr-xr-x 1 enrico None  27452 Jul 10  2015 bundle-plugins/libexec/geoclue-manual.exe
-rwxr-xr-x 1 enrico None 106206 Jul 10  2015 bundle-plugins/libexec/geoclue-master.exe
-rwxr-xr-x 1 enrico None  27775 Jul 10  2015 bundle-plugins/libexec/geoclue-nominatim.exe
-rwxr-xr-x 1 enrico None  78317 Jul 10  2015 bundle-plugins/libexec/geoclue-plazes.exe
-rwxr-xr-x 1 enrico None  78238 Jul 10  2015 bundle-plugins/libexec/geoclue-skyhook.exe
-rwxr-xr-x 1 enrico None  24743 Jul 10  2015 bundle-plugins/libexec/geoclue-yahoo.exe

bundle-plugins/libexec/gstreamer-1.0:
total 20
-rwxr-xr-x 1 enrico None 20137 Feb 10 09:29 gst-plugin-scanner.exe
</code></pre>

<p>Nothing we need.<br>
Anyway, I'll change the script to let <code>libexec</code> alone and instead delete all *.exe. Then the resulting empty directories will be deleted at the end.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/375/files#r54353849">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ85r9Zh_Dit2aS5TV7sqNtuiFQgMks5pozC7gaJpZM4Hk4SI.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/375/files#r54353849"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>