Skip to content

Commit

Permalink
-bash
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Feb 26, 2024
1 parent ce3e586 commit ea3d653
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ package_ext=".sh" && $is_windows_os && package_ext=".sh.bat"
package_grep_ext="\.sh" && $is_windows_os && package_grep_ext="\.sh\.bat"

# Finishing update process. Stage 2
#self_package_filepath=$1
target_path=$1
if [[ ! -z "$target_path" ]]; then
target_path=$(realpath "$target_path")
Expand Down Expand Up @@ -117,9 +116,9 @@ if [[ -z $MOCK_AUTOINSTALLCREATOR_PACKAGE_FILEPATH ]]; then
fi

echo "Extracting to: $dp0/_$self_name/$version_body"
(bash "$package_filepath" --target "$dp0/_$self_name/tmp_$version_body")
"$package_filepath" --target "$dp0/_$self_name/tmp_$version_body"

echo "Running extracted 'update.sh'"
bash "$dp0/_$self_name/tmp_$version_body/update.sh" "$dp0" >& $dp0/_update.log
"$dp0/_$self_name/tmp_$version_body/update.sh" "$dp0" >& $dp0/_update.log


0 comments on commit ea3d653

Please sign in to comment.