From f5b39e9f31d3992c61f9399720b376b515f93b75 Mon Sep 17 00:00:00 2001 From: Gautham <41098605+ahgamut@users.noreply.github.com> Date: Mon, 14 Aug 2023 01:31:39 -0500 Subject: [PATCH] Fix typo in cosmocc (#884) --- bin/cosmocc | 2 +- bin/fatcosmocc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cosmocc b/bin/cosmocc index 3c9f907a4..a353be7b6 100755 --- a/bin/cosmocc +++ b/bin/cosmocc @@ -180,7 +180,7 @@ if [ ! -d "$COSMO" ]; then fi if [ "$1" = "--update" ]; then - cd /opt/cosmo || exit + cd $COSMO || exit if GIT=$(command -v git); then echo "running git pull on cosmo..." >&2 "$GIT" pull --quiet || exit diff --git a/bin/fatcosmocc b/bin/fatcosmocc index 97952f21b..bfba3ccc7 100755 --- a/bin/fatcosmocc +++ b/bin/fatcosmocc @@ -149,7 +149,7 @@ else fi if [ "$1" = "--update" ]; then - cd /opt/cosmo || exit + cd $COSMO || exit if GIT=$(command -v git); then echo "running git pull on cosmo..." >&2 "$GIT" pull --quiet || exit