Ticket #37276: patch-Platform-Linux-CreateRedist-install.sh.3.diff

File patch-Platform-Linux-CreateRedist-install.sh.3.diff, 1.1 KB (added by josephhowse@…, 12 years ago)

graphics/openni-sensorkinect/files/patch-Platform-Linux-CreateRedist-install.sh.diff

  • Platform/Linux/CreateRedist/install.sh

    old new  
    7373        exit 1
    7474fi
    7575
    76 INSTALL_LIB=$rootfs/usr/lib
    77 INSTALL_BIN=$rootfs/usr/bin
    78 INSTALL_ETC=$rootfs/usr/etc/primesense
    79 INSTALL_RULES=$rootfs/etc/udev/rules.d
    80 SERVER_LOGS_DIR=$rootfs/var/log/primesense/XnSensorServer
     76INSTALL_LIB=$rootfs@PREFIX@/lib
     77INSTALL_BIN=$rootfs@PREFIX@/bin
     78INSTALL_ETC=$rootfs@PREFIX@/etc/primesense
     79INSTALL_RULES=$rootfs@PREFIX@/etc/udev/rules.d
     80SERVER_LOGS_DIR=$rootfs@PREFIX@/var/log/primesense/XnSensorServer-
    8181#--avin mod--
    82 MODPROBE_CONF_DIR=$rootfs/etc/modprobe.d
     82MODPROBE_CONF_DIR=$rootfs@PREFIX@/etc/modprobe.d
    8383
    8484# make all calls into OpenNI run in this filesystem
    8585export OPEN_NI_INSTALL_PATH=$rootfs
     
    105105    cp $BIN_FILES $INSTALL_BIN
    106106    printf "OK\n"
    107107
    108     # register modules
    109     for module in $MODULES; do
    110         printf "registering module '$module' with OpenNI..."
    111                 $INSTALL_BIN/niReg -r $INSTALL_LIB/$module $INSTALL_ETC
    112         printf "OK\n"
    113     done
    114108
    115109    # copy config file
    116110    printf "copying server config file..."