summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-06-25 20:51:29 +0200
committerPhilipp Hagemeister <[email protected]>2013-06-25 20:51:29 +0200
commit005caca467e62c7d0ac9ca50aa7b73198f36084d (patch)
tree45083aefcb5062c216144117aae5bfd2beafe877
parentabb88dcb2fbda373b4923f17183bbfc3f49d01e8 (diff)
downloadyoutube-dl-005caca467e62c7d0ac9ca50aa7b73198f36084d.tar.gz
youtube-dl-005caca467e62c7d0ac9ca50aa7b73198f36084d.zip
Disable automatic directory detection
-rwxr-xr-xupdate_latest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_latest.sh b/update_latest.sh
index 05c2f17e1..447f171c2 100755
--- a/update_latest.sh
+++ b/update_latest.sh
@@ -10,7 +10,7 @@ fi
cd "$(dirname $(readlink -f $0))"
-ln -sf ../downloads/$version latest/directory
+ln -sf --no-target-directory ../downloads/$version latest/directory
for f in $(ls "downloads/$version/"); do \
- ln -sf "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
+ ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
done