]> git.saurik.com Git - apple/syslog.git/blobdiff - syslogd.tproj/after_install.sh
syslog-267.tar.gz
[apple/syslog.git] / syslogd.tproj / after_install.sh
index c2406d9ec62b1031868067873608f995aa35aec5..d54cd6ae27dad78e8dd312c3521c718f0890b33f 100755 (executable)
@@ -2,13 +2,13 @@
 set -e
 
 if [ "${RC_ProjectName%_Sim}" != "${RC_ProjectName}" ] ; then
-    DESTDIR="${DSTROOT}${SDKROOT}"/System/Library/LaunchDaemons
     PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd_sim.plist
 else
-    DESTDIR="${DSTROOT}"/System/Library/LaunchDaemons
     PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist
 fi
 
+DESTDIR="${DSTROOT}${INSTALL_PATH_PREFIX}"/System/Library/LaunchDaemons
+
 install -d -m 0755 -o root -g wheel "${DESTDIR}"
 install -m 0644 -o root -g wheel "${PLIST}" "${DESTDIR}"/com.apple.syslogd.plist
 plutil -convert binary1 "${DESTDIR}"/com.apple.syslogd.plist