From 1d07eb1e34228e5c45bc8f12725cb13e6998bcf5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Aug 2011 01:05:51 +0200 Subject: streams/ fixed readlink fuckup in scripts --- streams/deepmix | 1 - streams/groove | 1 - streams/radiotux | 1 - streams/stream-starter | 2 +- streams/streams | 4 ++-- 5 files changed, 3 insertions(+), 6 deletions(-) delete mode 120000 streams/deepmix delete mode 120000 streams/groove delete mode 120000 streams/radiotux (limited to 'streams') diff --git a/streams/deepmix b/streams/deepmix deleted file mode 120000 index b0148d72..00000000 --- a/streams/deepmix +++ /dev/null @@ -1 +0,0 @@ -stream-starter \ No newline at end of file diff --git a/streams/groove b/streams/groove deleted file mode 120000 index b0148d72..00000000 --- a/streams/groove +++ /dev/null @@ -1 +0,0 @@ -stream-starter \ No newline at end of file diff --git a/streams/radiotux b/streams/radiotux deleted file mode 120000 index b0148d72..00000000 --- a/streams/radiotux +++ /dev/null @@ -1 +0,0 @@ -stream-starter \ No newline at end of file diff --git a/streams/stream-starter b/streams/stream-starter index cfcf91d4..4d3a406f 100755 --- a/streams/stream-starter +++ b/streams/stream-starter @@ -1,6 +1,6 @@ #! /bin/bash set -euf -HERE=`readlink -f $(dirname $0)` +HERE=$(dirname $(readlink -f $0)) STR=$HERE/streams NAME=`basename $0` case "$1" in diff --git a/streams/streams b/streams/streams index a2b5bee4..a8408b4a 100755 --- a/streams/streams +++ b/streams/streams @@ -1,5 +1,5 @@ -#! /bin/sh -HERE=`readlink -f $(dirname $0)` +#! /bin/bash +HERE=$(dirname $(readlink -f $0)) URLS=`cat $HERE/stream.db` function start() { -- cgit v1.2.3