Zachary Kotlarek 13 жил өмнө
parent
commit
b55ddb98f6
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      findTorrent.sh

+ 3 - 0
findTorrent.sh

@@ -11,6 +11,9 @@ usage() {
 }
 
 # Find the series directory
+if echo "${SERIES}" | grep -qE "\.\.?/"; then
+	SERIES="`cd "${SERIES}" && pwd`"
+fi
 if echo "${SERIES}" | grep -q "/"; then
 	SERIES_DIR="${SERIES}"
 else