FILES_FOR_REBUILD_CHECK[@]: unbound variable
See original GitHub issueApache Airflow version:
Current master
Kubernetes version (if you are using kubernetes) (use kubectl version
):
Environment:
- OS (e.g. from /etc/os-release): MacOS
What happened:
➜ ./breeze prepare-backport-packages 2020.07.27 cncf
/Users/tomaszurbaszek/airflow/scripts/ci/libraries/_md5sum.sh: line 86: FILES_FOR_REBUILD_CHECK[@]: unbound variable
What you expected to happen:
I would love to build packages
How to reproduce it:
Just run
./breeze prepare-backport-packages 2020.07.27 cncf
Anything else we need to know:
N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Bash throws error, line 8: $1: unbound variable
set -u will abort exactly as you describe if you reference a variable which has not been set. You are invoking your script...
Read more >Unbound variable error not reported in setup_file() with `set -u`
This bug has been haunting me for a while, as it only happens with a very specific setup. This is running on Debian...
Read more >Work-around for $@ unbound variable in Bash 4.0.0?
In specifically Bash version 4.0.0 , is there any way to work around the use of an empty $@ raising an unbound variable...
Read more >Fix unbound variable error in scripts/collect-test-info.sh
The scripts/collect-test-info.sh script is executed with '-u' which means that unset variables will trigger an error like the following one: ...
Read more >Keep getting "Unbound Variable" error on my function ... - Reddit
Here is my code thus far. (defun firsttry (word) (dotimes (n (length word)) (print n))). Why is it that I keep getting unbound...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I solved this with changing mode to
w+
I will double check it on mac and see where the undefined variable comes from