VirtualBox

Changeset 44093 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Dec 11, 2012 2:49:11 PM (12 years ago)
Author:
vboxsync
Message:

Installer/linux: adjust VBoxHeadlessXOrg.sh to r82616.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/scripts/VBoxHeadlessXOrg.sh

    r44081 r44093  
    290290
    291291if [ -n "${do_install}" ]; then
    292   cd "${SCRIPT_FOLDER}"
    293   SCRIPT_FOLDER=$(pwd)"/"
     292  SCRIPT_FOLDER=$(cd "${SCRIPT_FOLDER}" && pwd)"/"
    294293  CONFIGURATION_FILE_ESCAPED=$(echo "${CONFIGURATION_FILE}" | sed 's/\([ \%]\)/\\\1/g')
    295294  if [ "x${do_install}" = "xinstall" ]; then
    296     ../helpers/install_service --command "${SCRIPT_FOLDER}"$(basename "${SCRIPT_NAME}") --arguments "--conf-file ${CONFIGURATION_FILE_ESCAPED}" --service-name "${SERVICE_NAME}" --description "${SERVICE_DESCRIPTION}" --enable
     295    ${SCRIPT_FOLDER}install_service --command "${SCRIPT_FOLDER}"$(basename "${SCRIPT_NAME}") --arguments "--conf-file ${CONFIGURATION_FILE_ESCAPED}" --service-name "${SERVICE_NAME}" --description "${SERVICE_DESCRIPTION}" --enable
    297296  else
    298     ../helpers/install_service --service-name "${SERVICE_NAME}" --remove
     297    ${SCRIPT_FOLDER}install_service --service-name "${SERVICE_NAME}" --remove
    299298  fi
    300299  exit 0
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette