]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.release.sign: normalie paths.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 20 Jun 2022 22:01:39 +0000 (15:01 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 20 Jun 2022 22:01:39 +0000 (15:01 -0700)
extra/mason/release/sign/sign.factor

index 0b8c78552f6267e5a6d132bcb73a8df0bbda63d9..3fa769975ff458278315954b290f49096332cd02 100644 (file)
@@ -12,8 +12,8 @@ IN: mason.release.sign
         [ "factor/" prepend-path ] dip prepend-path
     ] [
         ! Not in build, make dir: "resource:factor.com"
-        "resource:" prepend-path normalize-path
-    ] if* ;
+        "resource:" prepend-path
+    ] if* normalize-path ;
 
 HOOK: cert-path os ( -- path/f )
 
@@ -32,7 +32,7 @@ M:: macosx sign-factor-app ( -- )
     ${
         "codesign" "--force" "--sign"
         "Developer ID Application"
-        cert-path
+        cert-path normalize-path
     }
     "Factor.app/" make-factor-path suffix
     short-running-process ;
@@ -43,7 +43,7 @@ M:: windows sign-factor-app ( -- )
             ${
                 "signtool" "sign"
                 "/v"
-                "/f" cert-path
+                "/f" cert-path normalize-path
             }
         ] dip make-factor-path suffix short-running-process
     ] each ;