💥 fix(install): enter project root directory before building
This commit is contained in:
@@ -83,6 +83,8 @@ if [[ "$answer" == "y" ]] || [[ "$skip_prompts" ]]; then
|
||||
done
|
||||
|
||||
Send_log "Building colorshell..."
|
||||
prev_wd=`pwd`
|
||||
cd "$repo_directory"
|
||||
pnpm build:release
|
||||
|
||||
Send_log "Installing colorshell"
|
||||
@@ -96,6 +98,8 @@ if [[ "$answer" == "y" ]] || [[ "$skip_prompts" ]]; then
|
||||
Send_log "Cleaning"
|
||||
pnpm clean
|
||||
|
||||
cd "$prev_wd"
|
||||
|
||||
if [[ -z "$skip_prompts" ]]; then
|
||||
echo "Colorshell is installed! :D"
|
||||
sleep .8
|
||||
|
||||
Reference in New Issue
Block a user