Skip to content

Commit 163e2e7

Browse files
committed
try to modify the build scripts and not turn purple
1 parent 41f361a commit 163e2e7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

hack/lib/build/binaries.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,11 @@ function os::build::make_openshift_binary_symlinks() {
418418
ln -sf openshift "${OS_OUTPUT_BINPATH}/${platform}/${linkname}"
419419
done
420420
fi
421+
if [[ -f "${OS_OUTPUT_BINPATH}/${platform}/oc" ]]; then
422+
for linkname in "${OC_BINARY_COPY[@]}"; do
423+
ln -sf oc "${OS_OUTPUT_BINPATH}/${platform}/${linkname}"
424+
done
425+
fi
421426
}
422427
readonly -f os::build::make_openshift_binary_symlinks
423428

hack/lib/constants.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ readonly OPENSHIFT_BINARY_SYMLINKS=(
7474
osc
7575
oadm
7676
osadm
77-
kubectl
7877
kubernetes
7978
kubelet
8079
kube-proxy

0 commit comments

Comments
 (0)