[gtk+] build: Don't use shopt in the build command



commit 359fc25aad14af2b69b60dbbc19d10cb28c85b9c
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Thu Feb 19 00:16:15 2015 +0800

    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

 gtk/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 721a76d..67d8533 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -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; \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]