commit d08fba6bedf8d585bde75c9041b04be3e7b8370d
parent f8dfbb0f4c6c33b77f4d410a65f7350d718c6639
Author: ccx <root@dorje.wpr.cz>
Date: Thu, 11 Mar 2021 13:29:02 +0100
Fix s6-rc-compile argument order
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/install b/install
@@ -40,10 +40,10 @@ install_package() {
install_rc() {
local dst=${sm_dst[$submodule]}
local cmd=${sm_dst[package]}/command
- mkdir -p $dst/s6-rc/source $dst/s6-rc/compiled || exit $?
+ mkdir -p $dst/s6-rc/source || exit $?
git archive --format=tar ${sm_commit[$submodule]} | tar -xC $dst/s6-rc/source
((${(j.|.)pipestatus})) && exit 1 # exit if git archive or tar exited non-zero
- $cmd/s6-rc-compile $dst/s6-rc/source $dst/s6-rc/compiled || exit $?
+ $cmd/s6-rc-compile $dst/s6-rc/compiled $dst/s6-rc/source || exit $?
}
install_submodule() {