Skip to content

Commit 9353dd9

Browse files
madpahhboutemy
authored andcommitted
fix: avoid warning when directories already exist
Signed-off-by: Paul Horton <[email protected]>
1 parent b920c7a commit 9353dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-pytorch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ do
2323
i=0
2424
for p in `cat index.html | cut -d '>' -f 2 | cut -d '<' -f 1`
2525
do
26-
mkdir $p
26+
mkdir -p $p
2727
cd $p
2828
((i++))
2929
curl -s https://download.pytorch.org/$d/$p/ \

0 commit comments

Comments
 (0)