summaryrefslogtreecommitdiffstats
path: root/streams
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-04 01:05:51 +0200
committerroot <root@krebs>2011-08-04 01:06:45 +0200
commit557844ecfba1f60cc7cfa50b2a2eb62749c8ba8c (patch)
treef640ae30de8cb179779efdcb4efa3ac26066def8 /streams
parent0ea4ef3b5b5bfde00abbe00eec4b05473cf7f36d (diff)
streams/ fixed readlink fuckup in scripts
Diffstat (limited to 'streams')
l---------streams/deepmix1
l---------streams/groove1
l---------streams/radiotux1
-rwxr-xr-xstreams/stream-starter2
-rwxr-xr-xstreams/streams4
5 files changed, 3 insertions, 6 deletions
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() {