mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
Disable automatic directory detection
This commit is contained in:
parent
abb88dcb2f
commit
005caca467
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ fi
|
||||||
|
|
||||||
cd "$(dirname $(readlink -f $0))"
|
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 \
|
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
|
done
|
||||||
|
|
Loading…
Reference in a new issue