From 5b49e70d5606f36667a55291d5345e95d42674fd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 15 Jun 2017 15:20:39 +0200 Subject: removed all bashisms - should work in any POSIX shell, now --- bin/why_dont_you_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/why_dont_you_build') diff --git a/bin/why_dont_you_build b/bin/why_dont_you_build index 714816a..15a4ca5 100755 --- a/bin/why_dont_you_build +++ b/bin/why_dont_you_build @@ -1,11 +1,11 @@ -#!/bin/bash +#!/bin/sh # investigate, why a certain package is not being built . "${0%/*}/../conf/default.conf" for pkg in "$@"; do - grep "^${pkg//./\\.} " "${work_dir}/build-list" | \ + grep "^$(str_to_regex "${pkg}") " "${work_dir}/build-list" | \ while read -r package git_revision mod_git_revision repository; do if [ -f "${work_dir}/${package}.${git_revision}.${mod_git_revision}.${repository}.done" ] || -- cgit v1.2.3-54-g00ecf