Overview
| Artifact ID: | d173d13e5c898df3821c85fb79da3131736765baf60924f9df2fdc7900f527be |
|---|---|
| Ticket: | 46291ba24dc85c0e66ec1771e2f39bc8ab680920
win: install: bashism in Makefile.in |
| User & Date: | anonymous on 2021-11-17 10:40:28 |
Changes
- closedate changed to: "2459535.94477164"
- closer changed to: "anonymous"
- icomment:
Thanks. Do note that these globs can result in an error if there are no *.tcl files (or no *.gz files), as e.g. `*.gz` "expands" to `*.gz` (i.e. unmodified) if there are no matches. In some shells, like bash, the `nullglob` option can handle it, but that's not standardized. A standard approach would be to check that the file exists before using it, e.g. ``` for i in path/to/*.gz; do [ -e "$i" ] || continue # do something with $i done ``` - login: "anonymous"
- mimetype: "text/plain"