mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Merge pull request #40660 from sttts/sttts-fix-staging-copy-on-mac
Automatic merge from submit-queue (batch tested with PRs 39832, 40660) staging/copy.sh: fix on mac BSD-vs-GNU `sed -i`. This variant works on both.
This commit is contained in:
commit
5d8e607ef2
@ -42,7 +42,7 @@ CLIENT_REPO="${MAIN_REPO}/staging/src/${CLIENT_REPO_FROM_SRC}"
|
||||
CLIENT_REPO_TEMP="${MAIN_REPO}/staging/src/${CLIENT_REPO_TEMP_FROM_SRC}"
|
||||
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
sedi="-i"
|
||||
sedi="-i=''"
|
||||
|
||||
cleanup() {
|
||||
rm -rf "${CLIENT_REPO_TEMP}"
|
||||
|
Loading…
Reference in New Issue
Block a user