From: ng0 Date: Sat, 9 Mar 2019 11:40:47 +0000 (+0000) Subject: bashism X-Git-Tag: v0.11.1~136 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=15393f04d1621903927d3d62b3fafa1960c1dfee;p=oweals%2Fgnunet.git bashism --- diff --git a/src/reclaim/test_reclaim.sh b/src/reclaim/test_reclaim.sh index 311f5382a..da93b10f7 100755 --- a/src/reclaim/test_reclaim.sh +++ b/src/reclaim/test_reclaim.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #trap "gnunet-arm -e -c test_reclaim_lookup.conf" SIGINT LOCATION=$(which gnunet-config) @@ -20,7 +20,7 @@ rm -rf `gnunet-config -c test_reclaim.conf -s PATHS -o GNUNET_HOME -f` # (3) PKEY3.user -> PKEY4 -which timeout &> /dev/null && DO_TIMEOUT="timeout 30" +which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 30" TEST_ATTR="test" gnunet-arm -s -c test_reclaim.conf