You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic merge from submit-queue (batch tested with PRs 17476, 17143, 15115, 17094, 17500).
fix basename: illegal option -- b issue with upstream filenames starting with -
issue:
```
$ git branch -vv
* devel 3ea2451 Merge pull request #17120 from joelsmith/master
master 3ae4430 [origin/master] fix basename: illegal option -- b issue with upstream filenames starting with -
xiaods at XiaoTommydeMacBook-Pro in ~/go/src/github.com/openshift/origin on devel*
$ export PATH="${PATH}:$( source hack/lib/init.sh; echo "${OS_OUTPUT_BINPATH}/$( os::build::host_platform )/" )"
basename: illegal option -- b
usage: basename string [suffix]
basename [-a] [-s suffix] string [...]
```
caused by :
The -- (dash dash) stops basename from processing any options in the argument.
Always quote $0 in case there are spaces in the name.
0 commit comments