Skip to content

Commit

Permalink
ScalarInstall: use fully qualified paths to binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jamill committed Aug 30, 2019
1 parent 8406443 commit 304bb22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scripts/Mac/CreateScalarDistribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ cp -Rf "$SCALAR_INSTALLER_PKG_SRC_PATH" "$DISTRIBUTION_DIR/Scalar/$SCALAR_INSTAL
/usr/bin/sed -e "s|##GIT_INSTALLER_PKG_PLACEHOLDER##|$GIT_INSTALLER_PKG|g" "$SCALAR_SCRIPT_DIR/InstallScalarTemplate.sh" > "$DISTRIBUTION_DIR/InstallScalar.sh"
/usr/bin/sed -i.bak "s|##GCM_CORE_INSTALLER_PKG_PLACEHOLDER##|$GCM_INSTALLER_PKG|g" "$DISTRIBUTION_DIR/InstallScalar.sh"
/usr/bin/sed -i.bak "s|##SCALAR_INSTALLER_PKG_PLACEHOLDER##|$SCALAR_INSTALLER_PKG|g" "$DISTRIBUTION_DIR/InstallScalar.sh"
chmod +x "$DISTRIBUTION_DIR/InstallScalar.sh"
/bin/chmod +x "$DISTRIBUTION_DIR/InstallScalar.sh"
2 changes: 1 addition & 1 deletion Scripts/Mac/InstallScalarTemplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if [ -f "$SCALAR_DISTRIBUTION_ROOT/Scripts/PostInstall.sh" ]; then
echo ""
echo "=============================="
echo "Running post install script"
sudo bin/bash "$SCALAR_DISTRIBUTION_ROOT/Scripts/PostInstall.sh"
sudo /bin/bash "$SCALAR_DISTRIBUTION_ROOT/Scripts/PostInstall.sh"
fi

# Installation Complete!
Expand Down

0 comments on commit 304bb22

Please sign in to comment.