]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tldr/tldr.factor
http.download: fix downloading into a directory if it didnt exist
[factor.git] / extra / tldr / tldr.factor
index 47560add8b70734c6363d15a7fdbc3b86c5f07ec..750795fa02b913583ed7ca6a49f04524bd443b3f 100644 (file)
@@ -26,7 +26,7 @@ CONSTANT: tldr-zip URL" https://tldr-pages.github.io/assets/tldr.zip"
 
 : download-tldr ( -- )
     "tldr" cache-file dup make-directory [
-        tldr-zip "tldr.zip" download-once-to drop
+        tldr-zip "tldr.zip" download-once-as drop
         { "unzip" "tldr.zip" } try-process
     ] with-directory ;