aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-12 01:35:56 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-12 01:40:57 +0200
commitbc7d2545d47bf54acebb38ab3d1e2dd7251ddb99 (patch)
tree32d99afa6dca410f300bfc3a12e8548abbeb0ea3
parent9d0ef0268f7903fd91ef11ed055a7714a70c7c29 (diff)
downloadblogc-bc7d2545d47bf54acebb38ab3d1e2dd7251ddb99.tar.gz
blogc-bc7d2545d47bf54acebb38ab3d1e2dd7251ddb99.tar.bz2
blogc-bc7d2545d47bf54acebb38ab3d1e2dd7251ddb99.zip
build: man: tests: do not use bash
tested with busybox' ash, that is not exactly posix.
-rwxr-xr-xbuild-aux/travis-build.sh2
-rwxr-xr-xbuild-aux/travis-deploy.sh2
-rwxr-xr-xbuild-aux/valgrind.sh2
-rw-r--r--man/blogc-git-receiver.1.ronn8
-rwxr-xr-xtests/blogc-git-receiver/check_post_receive.sh2
-rwxr-xr-xtests/blogc-git-receiver/check_pre_receive.sh2
-rwxr-xr-xtests/blogc-git-receiver/check_shell.sh2
7 files changed, 10 insertions, 10 deletions
diff --git a/build-aux/travis-build.sh b/build-aux/travis-build.sh
index 53cf589..106c230 100755
--- a/build-aux/travis-build.sh
+++ b/build-aux/travis-build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -ex
diff --git a/build-aux/travis-deploy.sh b/build-aux/travis-deploy.sh
index 51aac3e..dea0b0f 100755
--- a/build-aux/travis-deploy.sh
+++ b/build-aux/travis-deploy.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e
diff --git a/build-aux/valgrind.sh b/build-aux/valgrind.sh
index 4db7477..3de3855 100755
--- a/build-aux/valgrind.sh
+++ b/build-aux/valgrind.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e
diff --git a/man/blogc-git-receiver.1.ronn b/man/blogc-git-receiver.1.ronn
index 806ba3d..ab54490 100644
--- a/man/blogc-git-receiver.1.ronn
+++ b/man/blogc-git-receiver.1.ronn
@@ -88,7 +88,7 @@ value of the `mirror` variable is the URL that should be used to push.
To create the configuration file (recommended):
- # su -s /bin/bash - blogc
+ # su -s /bin/sh - blogc
# cat > ~/blogc-git-receiver.ini <<EOF
[repo:myblog.git]
mirror=$YOUR_GIT_MIRROR_URL
@@ -96,7 +96,7 @@ To create the configuration file (recommended):
Or to add the `mirror` remote:
- # su -s /bin/bash - blogc
+ # su -s /bin/sh - blogc
$ cd repos
$ git init --bare myblog.git # if not created yet
$ cd myblog.git
@@ -117,10 +117,10 @@ checking in SSH's `~/.ssh/config` file:
The example uses `bitbucket.org` as remote host, that should be changed if needed.
-To change this file, users must login with `/bin/bash` or any other "real" shell,
+To change this file, users must login with `/bin/sh` or any other "real" shell,
as `root`:
- # su -s /bin/bash - blogc
+ # su -s /bin/sh - blogc
## ENVIRONMENT VARIABLES
diff --git a/tests/blogc-git-receiver/check_post_receive.sh b/tests/blogc-git-receiver/check_post_receive.sh
index b1c8246..ac07c64 100755
--- a/tests/blogc-git-receiver/check_post_receive.sh
+++ b/tests/blogc-git-receiver/check_post_receive.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -xe -o pipefail
diff --git a/tests/blogc-git-receiver/check_pre_receive.sh b/tests/blogc-git-receiver/check_pre_receive.sh
index 7ef7f0e..2df713a 100755
--- a/tests/blogc-git-receiver/check_pre_receive.sh
+++ b/tests/blogc-git-receiver/check_pre_receive.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -xe -o pipefail
diff --git a/tests/blogc-git-receiver/check_shell.sh b/tests/blogc-git-receiver/check_shell.sh
index 64f105e..f563c02 100755
--- a/tests/blogc-git-receiver/check_shell.sh
+++ b/tests/blogc-git-receiver/check_shell.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -xe -o pipefail