Overview
| Artifact ID: | ba2605f5dfc59db3dcc98aab173f4b78f33f45566c04114cfce73a4aa2b59268 |
|---|---|
| Ticket: | 46291ba24dc85c0e66ec1771e2f39bc8ab680920
win: install: bashism in Makefile.in |
| User & Date: | anonymous on 2021-11-17 08:47:34 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
win/Makefile.in has bashism during install, when zipfs=no. This can be encountered during `make install` after configuring without zipfs. The following patch fixes it at core-8-branch, but the same fix should also be applied to main: ``` From bf4a7c32971a3a56a96298875e754ca79334dfa8 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" <[email protected]> Date: Wed, 17 Nov 2021 10:33:14 +0200 Subject: [PATCH] win: install: avoid bashism with zipfs=no The expansion form *foo.{ext1,ext2} is bash-specific, and if zipfs is disabled and the shell is not bash (e.g. on Debian when cross compiling to windows) then this line fails. Replace it with standard posix glob. --- win/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win/Makefile.in b/win/Makefile.in index 1e4b82299c..649f452324 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -856,7 +856,8 @@ install-libraries: libraries install-tzdata install-msgs $(COPY) "$$i" "$(SCRIPT_INSTALL_DIR)"; \ done; @echo "Installing package cookiejar 0.2" - @for j in $(ROOT_DIR)/library/cookiejar/*.{tcl,gz}; \ + @for j in $(ROOT_DIR)/library/cookiejar/*.tcl \ + $(ROOT_DIR)/library/cookiejar/*.gz; \ do \ $(COPY) "$$j" "$(SCRIPT_INSTALL_DIR)/cookiejar0.2"; \ done; -- 2.25.1 ```
- foundin changed to: "8.7+ (main, core-8-branch)"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "win: install: bashism in Makefile.in"
- type changed to: "Bug"