[citemplates/abderrahim/stripping-fix: 1/2] quote variable that can contain space



commit 9938836bc1035cdddfbe7c48e313d97094ac06ab
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Jul 25 18:18:28 2019 +0100

    quote variable that can contain space

 flatpak/flatpak_ci_initiative.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 55dc265..342e474 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -21,7 +21,7 @@
       flatpak build flatpak_app bash -c \
       "find /app -type f '(' -perm -111 -o -name '*.so*' ')' -print0 | while read -r -d $'\\0' file; do \
         read -n4 hdr < \${file} || continue; \
-        if [ \$hdr != \$(printf \\\\x7fELF) ]; then \
+        if [ \"\$hdr\" != \$(printf \\\\x7fELF) ]; then \
           continue; \
         fi; \
         if objdump -j .gnu_debuglink -s \${file} &> /dev/null; then \


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