commit f8bd698c263e15d15120ebe91619e48b526b0651
parent 836ebd604abe1bad40925ce29f79e892ba60be0b
Author: ccx <root@dorje.wpr.cz>
Date: Thu, 11 Mar 2021 13:23:46 +0100
Remove redundant cd
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install b/install
@@ -41,7 +41,7 @@ install_rc() {
local dst=${sm_dst[$submodule]}
local cmd=${sm_dst[package]}/command
mkdir -p $dst/s6-rc/source || exit $?
- ( cd $submodule && git archive --format=tar $commit ) | tar -xC $dst/s6-rc/source
+ git archive --format=tar $commit | 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 $?
}