Skip to content

Commit 3e5044e

Browse files
committed
build.sh: Remove -C from install
Not available in Busybox when building under Alpine Linux
1 parent 96bd833 commit 3e5044e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ install() {
163163
if command -v go >/dev/null 2>/dev/null; then
164164
set -e
165165
if [ "$(go env GOOS)" = "linux" ]; then
166-
command install -C -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
167-
command install -C -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
166+
command install -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
167+
command install -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
168168
fi
169169
else
170170
set -e
171171
if [ "$(uname -s)" = "Linux" ]; then
172-
command install -C -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
173-
command install -C -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
172+
command install -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
173+
command install -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
174174
fi
175175
fi
176176

0 commit comments

Comments
 (0)