From 64c8dc3fdcb3aff67a7368e490391064ec3186ea Mon Sep 17 00:00:00 2001 From: Gautham Date: Mon, 14 Aug 2023 01:39:31 -0500 Subject: [PATCH] fix typo in cosmocc --- 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