Skip to content

Commit f5b39e9

Browse files
authored
Fix typo in cosmocc (#884)
1 parent 2b67e15 commit f5b39e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/cosmocc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ if [ ! -d "$COSMO" ]; then
180180
fi
181181

182182
if [ "$1" = "--update" ]; then
183-
cd /opt/cosmo || exit
183+
cd $COSMO || exit
184184
if GIT=$(command -v git); then
185185
echo "running git pull on cosmo..." >&2
186186
"$GIT" pull --quiet || exit

bin/fatcosmocc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ else
149149
fi
150150

151151
if [ "$1" = "--update" ]; then
152-
cd /opt/cosmo || exit
152+
cd $COSMO || exit
153153
if GIT=$(command -v git); then
154154
echo "running git pull on cosmo..." >&2
155155
"$GIT" pull --quiet || exit

0 commit comments

Comments
 (0)