]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.release.sign: use build-dir not build-dir get. make factor path at run-time...
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 31 Mar 2016 16:54:02 +0000 (09:54 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 31 Mar 2016 16:54:02 +0000 (09:54 -0700)
extra/mason/release/sign/sign.factor

index 56652c5e896d158b64f7473d7981f93904ca61da..27ecd8932a4cd58e57c000696f4a7a78f7e24cc8 100644 (file)
@@ -7,7 +7,7 @@ IN: mason.release.sign
 <<
 ! Two cases to allow signing in mason or in the UI
 : make-factor-path ( path -- path )
-    build-dir get [
+    build-dir [
         ! In a build, make dir: "build-dir/factor/factor.com"
         [ "factor/" prepend-path ] dip prepend-path
     ] [
@@ -35,8 +35,9 @@ M:: macosx sign-factor-app ( -- )
         "codesign" "--force" "--sign"
         "Developer ID Application"
         cert-path
-        "Factor.app/" make-factor-path
-    } short-running-process ;
+    }
+    "Factor.app/" make-factor-path suffix
+    short-running-process ;
 
 M:: windows sign-factor-app ( -- )
     { "factor.com" "factor.exe" } [