aboutsummaryrefslogtreecommitdiffhomepage
path: root/jpm
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2020-05-19 18:41:17 -0400
committerCalvin Rose <calsrose@gmail.com>2020-05-19 18:41:17 -0400
commitbef51fe9ffa5e488ee6900fb30f72be3065bece9 (patch)
treeee1ec897e72e5bacdcc7e5051b7e092db3e4c2d2 /jpm
parentAdd JANET_GIT to jpm. (diff)
Fix jpm.
Diffstat (limited to 'jpm')
-rwxr-xr-xjpm4
1 files changed, 1 insertions, 3 deletions
diff --git a/jpm b/jpm
index e64e0712..83626fdb 100755
--- a/jpm
+++ b/jpm
@@ -658,8 +658,6 @@ int main(int argc, const char **argv) {
(or (os/getenv "JANET_GIT") (pslurp "where git"))
(os/getenv "JANET_GIT" "git"))))
-(if is-win (pslurp "where git") "git"))
-
(defn uninstall
"Uninstall bundle named name"
[name]
@@ -969,7 +967,7 @@ int main(int argc, const char **argv) {
(print "generating " manifest "...")
(mkdir manifests)
(def sha (pslurp (string "\"" (git-path) "\" rev-parse HEAD")))
- (def url (pslurp (string "\"" (git-path) "\" remote get-url origin"))
+ (def url (pslurp (string "\"" (git-path) "\" remote get-url origin")))
(def man
{:sha (if-not (empty? sha) sha)
:repo (if-not (empty? url) url)