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