]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/gpu/demos/bunny/bunny.factor
http.download: fix downloading into a directory if it didnt exist
[factor.git] / extra / gpu / demos / bunny / bunny.factor
index f5963e714e89dc848caacd3ff4476ec5b9c4ae84..c082f3484e90e958fdf45b3d502a8270bbc6abbd 100644 (file)
@@ -149,7 +149,7 @@ CONSTANT: bunny-model-url
 "https://downloads.factorcode.org/misc/bun_zipper.ply"
 
 : download-bunny ( -- path )
-    bunny-model-url bunny-model-path download-once-to ;
+    bunny-model-url bunny-model-path download-once-as ;
 
 : get-bunny-data ( bunny-state -- )
     download-bunny bunny-data