Skip to content

Commit

Permalink
fix sed command for macOS compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
takoyaro committed Aug 14, 2024
1 parent f428651 commit abd6542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi


# Update .env file with root directory
sed -i "s|ROOT_DIR=.*|ROOT_DIR=$rootDir|" .env
sed -i "s|MODEL_CACHE_DIR=.*|MODEL_CACHE_DIR=$modelDir|" .env
sed -i "" "s|ROOT_DIR=.*|ROOT_DIR=$rootDir|" .env
sed -i "" "s|MODEL_CACHE_DIR=.*|MODEL_CACHE_DIR=$modelDir|" .env

echo ".env file has been created/updated with the provided root directory."

0 comments on commit abd6542

Please sign in to comment.