summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-05-08 09:09:53 +0200
committerlassulus <lass@aidsballs.de>2016-05-08 09:09:53 +0200
commite23b0a76a6f69b948f7a73c50447305ac63eb467 (patch)
tree8b98698d2934cabab35cdf69da81185dd2d1909d
parentc4eed3f706711027484b0297952c4db894ecef96 (diff)
checkMissingLink: style
-rwxr-xr-xbin/checkMissingLink8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/checkMissingLink b/bin/checkMissingLink
index f1ea0df..4b53f79 100755
--- a/bin/checkMissingLink
+++ b/bin/checkMissingLink
@@ -1,15 +1,13 @@
-#!/bin/sh
+#!/bin/sh
file=$1
id=$(echo "$file" | sed 's/.*\(.\{11\}\)\.ogg/\1/')
-#Wattie_Green_-_Dark_eyes-gdlFy3dRVck.ogg
-
if [ $id = '' ]; then
echo 'no id'
exit 23
fi
-if ! grep -q -- "$id#" links; then
+if ! grep -q -- "$id#" links; then
echo $file
-fi \ No newline at end of file
+fi