Comments (7)
Any clues? :/
Thanks for the report. I would bet the build.sh
runs the default /bin/bash
(shebang), which is the old shell version 3, right?
from container-common-scripts.
@hhorak - dare suppose you have any idea about this?
from container-common-scripts.
#!/bin/bash
^ that is indeed 3.2!
from container-common-scripts.
make SHELL=/your/path/to/bash
could be allowed with:
diff --git a/common.mk b/common.mk
index a3fffce..833b0c2 100644
--- a/common.mk
+++ b/common.mk
@@ -3,11 +3,13 @@
# If set to '0', images are automatically squashed. '1' disables
# squashing. By default only RHEL containers are squashed.
+SHELL := /bin/bash
+
ifndef common_dir
common_dir = common
endif
-build = $(common_dir)/build.sh
+build = $(SHELL) $(common_dir)/build.sh
test = $(common_dir)/test.sh
tag = $(common_dir)/tag.sh
clean = $(common_dir)/clean.sh
from container-common-scripts.
I updated the shebang to "#!/usr/bin/env bash -e" - which I believe is more widely compatible, I believe?
That fixed it.. :)
from container-common-scripts.
The -e
is weird, but otherwise such change would sound safe..
from container-common-scripts.
@bobbydeveaux Hopefully 44fb885 fixes the error you have been having. Please re-open in case you find any issue with it.
from container-common-scripts.
Related Issues (20)
- Test log output improvements needed HOT 3
- Make sure that failed test in the end always fails the testsuite
- database library would be nice for mysql, mariadb and postgresql containers
- OCP tests: Make sure that failed test in the end always fails the testsuite HOT 2
- Do not try to get compressed image size when tests are interrupted HOT 4
- stop rebuild and testing of centos7 images HOT 1
- Migrate fedora images to f38 where possible HOT 5
- grep: warning: stray \ before - HOT 3
- Review hotfix for removing set -e from test-lib HOT 1
- Remove dead branches and set delete on merge as default HOT 1
- Fix check_latest_imagestreams.py HOT 1
- Adjust bot for common submodule updates.
- cancel running GitHub Action if a new one is created
- CentOS Stream 8 EOL on May 31th 2024 HOT 1
- Use imagestream generator for editing imagestream json files HOT 1
- Remove OpenShift 3 support from all https://github.com/sclorg repos HOT 1
- RHEL7 EOL on June 30th 2024 HOT 2
- Distribute show_all_imagestreams.py HOT 1
- RHEL7 EOL on June 30th 2024 HOT 1
- Add support for building, testing C10S images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container-common-scripts.