build: Don't use shopt in the build command

shopt command only works in bash, so we should not use it in gtk/Makefile.am.

https://bugzilla.gnome.org/show_bug.cgi?id=743647
This commit is contained in:
Ting-Wei Lan 2015-02-19 00:16:15 +08:00
parent 3d88899072
commit 359fc25aad

View File

@ -1158,10 +1158,10 @@ gtk.gresource.xml: Makefile.am
n=`basename $$f`; \
echo " <file compressed='true'>ui/$$n</file>" >> $@; \
done; \
shopt -s nullglob; \
for s in 16x16 22x22 24x24 32x32 48x48; do \
for c in actions status; do \
for f in $(srcdir)/icons/$$s/$$c/*.png; do \
test "$$f" = "$(srcdir)/icons/$$s/$$c/*.png" && continue; \
n=`basename $$f`; \
echo " <file>icons/$$s/$$c/$$n</file>" >> $@; \
done; \