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) |
---|
-
Platform/Linux/CreateRedist/install.sh
old new 73 73 exit 1 74 74 fi 75 75 76 INSTALL_LIB=$rootfs /usr/lib77 INSTALL_BIN=$rootfs /usr/bin78 INSTALL_ETC=$rootfs /usr/etc/primesense79 INSTALL_RULES=$rootfs /etc/udev/rules.d80 SERVER_LOGS_DIR=$rootfs /var/log/primesense/XnSensorServer76 INSTALL_LIB=$rootfs@PREFIX@/lib 77 INSTALL_BIN=$rootfs@PREFIX@/bin 78 INSTALL_ETC=$rootfs@PREFIX@/etc/primesense 79 INSTALL_RULES=$rootfs@PREFIX@/etc/udev/rules.d 80 SERVER_LOGS_DIR=$rootfs@PREFIX@/var/log/primesense/XnSensorServer- 81 81 #--avin mod-- 82 MODPROBE_CONF_DIR=$rootfs /etc/modprobe.d82 MODPROBE_CONF_DIR=$rootfs@PREFIX@/etc/modprobe.d 83 83 84 84 # make all calls into OpenNI run in this filesystem 85 85 export OPEN_NI_INSTALL_PATH=$rootfs … … 105 105 cp $BIN_FILES $INSTALL_BIN 106 106 printf "OK\n" 107 107 108 # register modules109 for module in $MODULES; do110 printf "registering module '$module' with OpenNI..."111 $INSTALL_BIN/niReg -r $INSTALL_LIB/$module $INSTALL_ETC112 printf "OK\n"113 done114 108 115 109 # copy config file 116 110 printf "copying server config file..."