Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 116876
Collapse All | Expand All

(-)bin/xins.orig (-5 / +2 lines)
Lines 8-18 Link Here
8
# Make sure XINS_HOME is set
8
# Make sure XINS_HOME is set
9
if [ "${XINS_HOME}" = "" ]
9
if [ "${XINS_HOME}" = "" ]
10
then
10
then
11
   # Determine script directory
11
   # Fallback to Gentoo-specific installment directory
12
   __DIRNAME__=`dirname $0`
12
   XINS_HOME=`dirname $0`/../share/%%PN-SLOT%%/installment
13
14
   # Assume parent of script directory is XINS home
15
   XINS_HOME=`dirname ${__DIRNAME__}`
16
   if [ "${XINS_VERBOSE}" = "true" ]; then
13
   if [ "${XINS_VERBOSE}" = "true" ]; then
17
      echo "XINS_HOME not set, assuming: ${XINS_HOME}"
14
      echo "XINS_HOME not set, assuming: ${XINS_HOME}"
18
   fi
15
   fi

Return to bug 116876