summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in1
-rw-r--r--src/oh-applypatches.sh2
-rw-r--r--src/oh-buildopk.sh2
-rw-r--r--src/oh-checkbuilddeps.sh2
-rw-r--r--src/oh-copyconfig.sh2
-rw-r--r--src/oh-gencontrol.sh2
-rw-r--r--src/oh-installdocs.sh2
-rw-r--r--src/oh-installfiles.sh2
-rw-r--r--src/oh-strip.sh2
-rw-r--r--src/opkbuild.sh4
10 files changed, 11 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index f5c9771..9dbd4f0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,6 +53,7 @@ sedscript:
@echo 's&@@BINDIR@@&$(BINDIR)&' >> sedscript
@echo 's&@@DATADIR@@&$(DATADIR)&' >> sedscript
@echo 's&@@LIBDIR@@&$(LIBDIR)&' >> sedscript
+ @echo 's&@@SHELL@@&$(SHELL)&' >> sedscript
.PHONY: clean
clean:
diff --git a/src/oh-applypatches.sh b/src/oh-applypatches.sh
index f43dbfb..a688f32 100644
--- a/src/oh-applypatches.sh
+++ b/src/oh-applypatches.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-applypatches
diff --git a/src/oh-buildopk.sh b/src/oh-buildopk.sh
index 1855173..8eefa95 100644
--- a/src/oh-buildopk.sh
+++ b/src/oh-buildopk.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-buildopk
diff --git a/src/oh-checkbuilddeps.sh b/src/oh-checkbuilddeps.sh
index 62de266..1f68728 100644
--- a/src/oh-checkbuilddeps.sh
+++ b/src/oh-checkbuilddeps.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-checkbuilddeps
diff --git a/src/oh-copyconfig.sh b/src/oh-copyconfig.sh
index 2f337f8..1ca7783 100644
--- a/src/oh-copyconfig.sh
+++ b/src/oh-copyconfig.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-copyconfig
diff --git a/src/oh-gencontrol.sh b/src/oh-gencontrol.sh
index 39b9835..207240f 100644
--- a/src/oh-gencontrol.sh
+++ b/src/oh-gencontrol.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-gencontrol
diff --git a/src/oh-installdocs.sh b/src/oh-installdocs.sh
index 673b884..452bff5 100644
--- a/src/oh-installdocs.sh
+++ b/src/oh-installdocs.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-installdocs
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index c12a8f5..41e9e27 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-installfiles
diff --git a/src/oh-strip.sh b/src/oh-strip.sh
index e5a34bf..6b8ceaf 100644
--- a/src/oh-strip.sh
+++ b/src/oh-strip.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/oh-strip
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 16fc95d..bc32915 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!@@SHELL@@
#
# opkhelper
# src/opkbuild
@@ -48,7 +48,7 @@ error()
[ ${#} -eq 1 ] && printf 'opkbuild: [%s] Error\n' "${1}" >&2
if ${dbg}; then
printf 'opkbuild: Starting debugging shell...\n' >&2
- /bin/sh
+ @@SHELL@@
fi
cd ..
rm -Rf tmp 2> /dev/null