diff --git a/install.sh b/install.sh index e50ca7b..37de8e6 100755 --- a/install.sh +++ b/install.sh @@ -84,12 +84,12 @@ if [[ "$answer" == y ]] || [[ "$skip_prompts" ]]; then cp -rf $repo_directory/config/$dir "$dest" # copy done + prev_wd=`pwd` + cd "$repo_directory" Send_log "Updating dependencies" pnpm i && pnpm update Send_log "Building colorshell" - prev_wd=`pwd` - cd "$repo_directory" pnpm build:release cd "$prev_wd" diff --git a/update.sh b/update.sh index a895ba4..9abe249 100755 --- a/update.sh +++ b/update.sh @@ -99,12 +99,12 @@ if [[ "$answer" == y ]] || [[ "$skip_prompts" ]]; then cp -rf $repo_directory/config/$dir "$dest" # copy done + prev_wd=`pwd` + cd "$repo_directory" Send_log "Updating dependencies" pnpm i && pnpm update Send_log "Building colorshell" - prev_wd=`pwd` - cd "$repo_directory" pnpm build:release cd "$prev_wd"