aboutsummaryrefslogtreecommitdiff
path: root/core/carbs-init
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-17 00:06:09 +0300
committerCem Keylan <cem@ckyln.com>2020-09-17 00:06:09 +0300
commitce76140283b16bc4ca48be13c7f0198486c5d30e (patch)
treec5d65e75b406ffc8fb05d068aea1467e4f2186d3 /core/carbs-init
parent8cdca4badfa9e04c58fb59f3aeba445992553c8b (diff)
downloadrepository-ce76140283b16bc4ca48be13c7f0198486c5d30e.tar.gz
carbs-init: fix shebang on respawn
Diffstat (limited to 'core/carbs-init')
-rwxr-xr-xcore/carbs-init/build3
-rw-r--r--core/carbs-init/version2
2 files changed, 4 insertions, 1 deletions
diff --git a/core/carbs-init/build b/core/carbs-init/build
index d5f438d8..22378f18 100755
--- a/core/carbs-init/build
+++ b/core/carbs-init/build
@@ -1,3 +1,6 @@
#!/bin/sh -e
make DESTDIR="$1" install
+
+# Fix shebang
+sed -i '1s|/bin/sh -e|/bin/sh|' "$1/usr/bin/respawn"
diff --git a/core/carbs-init/version b/core/carbs-init/version
index 52669276..e13c61d4 100644
--- a/core/carbs-init/version
+++ b/core/carbs-init/version
@@ -1 +1 @@
-1.2.2 1
+1.2.2 2