Skip to content

Commit f68603e

Browse files
committed
try to modify the build scripts and not turn purple
1 parent e15e62f commit f68603e

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
@@ -76,7 +76,6 @@ readonly OPENSHIFT_BINARY_SYMLINKS=(
7676
osc
7777
oadm
7878
osadm
79-
kubectl
8079
kubernetes
8180
kubelet
8281
kube-proxy

0 commit comments

Comments
 (0)