mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-01 20:27:36 +03:00
build.sh: Remove -C from install
Not available in Busybox when building under Alpine Linux
This commit is contained in:
parent
96bd83316b
commit
3e5044ee8e
1 changed files with 4 additions and 4 deletions
8
build.sh
8
build.sh
|
@ -163,14 +163,14 @@ install() {
|
|||
if command -v go >/dev/null 2>/dev/null; then
|
||||
set -e
|
||||
if [ "$(go env GOOS)" = "linux" ]; then
|
||||
command install -C -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
|
||||
command install -C -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
|
||||
command install -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
|
||||
command install -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
|
||||
fi
|
||||
else
|
||||
set -e
|
||||
if [ "$(uname -s)" = "Linux" ]; then
|
||||
command install -C -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
|
||||
command install -C -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
|
||||
command install -m 0755 -d "${destdir}/${prefix}/lib/systemd/system/"
|
||||
command install -m 0644 "${builddir}"/systemd/*.service "${destdir}/${prefix}/lib/systemd/system/"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue