]> gitweb.factorcode.org Git - factor.git/commitdiff
bootstrap.image.upload: scp is included with windows git now.
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Apr 2020 06:15:19 +0000 (01:15 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Apr 2020 06:18:38 +0000 (01:18 -0500)
pscp is not necessary anymore and in fact is a more effort to set up.

basis/bootstrap/image/upload/upload.factor

index 47a0fbfc12c879614a551d24d5b171e403125269..f74a79beeae1bd9ca55106921c9e66dfbbdcb67c 100644 (file)
@@ -47,14 +47,7 @@ SYMBOL: build-images-destination
         ] each
     ] with-file-writer ;
 
-! Windows scp doesn't like pathnames with colons, it treats them as hostnames.
-! Workaround for uploading checksums.txt created with temp-file.
-! e.g. C:\Users\\Doug\\AppData\\Local\\Temp/factorcode.org\\Factor/checksums.txt
-! ssh: Could not resolve hostname c: no address associated with name
-
-HOOK: scp-name os ( -- path )
-M: object scp-name "scp" ;
-M: windows scp-name "pscp" ;
+: scp-name os ( -- path ) "scp" ;
 
 : upload-images ( -- )
     [