aboutsummaryrefslogtreecommitdiff
path: root/core/carbs-init/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-17 00:16:13 +0300
committerCem Keylan <cem@ckyln.com>2020-09-17 00:16:13 +0300
commitc046ba6bc2188b78c9544394ba5ba73a3afb2f87 (patch)
tree87b604d69f3d6abac9340556e41b93ecce21aae6 /core/carbs-init/build
parentce76140283b16bc4ca48be13c7f0198486c5d30e (diff)
downloadrepository-c046ba6bc2188b78c9544394ba5ba73a3afb2f87.tar.gz
carbs-init: use proper patch instead
Diffstat (limited to 'core/carbs-init/build')
-rwxr-xr-xcore/carbs-init/build5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/carbs-init/build b/core/carbs-init/build
index 22378f18..c46dc3e2 100755
--- a/core/carbs-init/build
+++ b/core/carbs-init/build
@@ -1,6 +1,5 @@
#!/bin/sh -e
-make DESTDIR="$1" install
+patch -p1 < respawn-fix.patch
-# Fix shebang
-sed -i '1s|/bin/sh -e|/bin/sh|' "$1/usr/bin/respawn"
+make DESTDIR="$1" install