Mercurial > p > roundup > code
comparison scripts/Docker/Dockerfile @ 8102:539e300f85d2
fix: replace use of shell variable inside printf string with specifer.
Minor nit found by hadolint.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 20 Jul 2024 19:07:01 -0400 |
| parents | 4f07d7835019 |
| children | 7c68aace7e48 |
comparison
equal
deleted
inserted
replaced
| 8101:2244205dd7c4 | 8102:539e300f85d2 |
|---|---|
| 169 exit 1; \ | 169 exit 1; \ |
| 170 fi; \ | 170 fi; \ |
| 171 printf "Building with distribution: %s\n" "$dist"; \ | 171 printf "Building with distribution: %s\n" "$dist"; \ |
| 172 pip install --no-cache-dir "install/dist/$dist";; \ | 172 pip install --no-cache-dir "install/dist/$dist";; \ |
| 173 *) \ | 173 *) \ |
| 174 printf "\n\ninvalid value for source: $source\n"; \ | 174 printf "\n\ninvalid value for source: %s\n" "$source"; \ |
| 175 printf "must be local, pypi, pip_local or pip_sdist\n\n"; \ | 175 printf "must be local, pypi, pip_local or pip_sdist\n\n"; \ |
| 176 exit 1;; \ | 176 exit 1;; \ |
| 177 esac | 177 esac |
| 178 | 178 |
| 179 # Allow user to add more modules during build | 179 # Allow user to add more modules during build |
