From: Brian Flowers Date: Mon, 19 Sep 2016 00:44:07 +0000 (-0400) Subject: bugfix on compatilibity X-Git-Url: http://git.slightlycyberpunk.com%2C%20git.slightlycyberpunk.com/git/?a=commitdiff_plain;h=f26d901cdf74d7c477d3bd028a564fcaa253201a;p=bdsm.git bugfix on compatilibity --- diff --git a/bdsm.sh b/bdsm.sh index 9933aad..b3b24fe 100755 --- a/bdsm.sh +++ b/bdsm.sh @@ -328,10 +328,10 @@ configure() if [ "$compatible" -eq "1" ]; then availServices+=($service) fi - done <($(find /home/bdsm/bdsm.d -executable -type f | \ + done < <(find /home/bdsm/bdsm.d -executable -type f | \ sed 's|/home/bdsm/bdsm.d/||g' | \ cut -d'.' -f1 | \ - sort -u)) + sort -u) services=$(cat /home/bdsm/.bdsm.conf.tmp | grep ":$host{" | \ sed 's/.*{\(.*\)}/\1/g' | tr ';' ' ')