Rev 396: fixed onnode symlink install in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Wed May 30 01:17:53 GMT 2007


------------------------------------------------------------
revno: 396
revision-id: tridge at samba.org-20070530011752-x8gi0mp8otg937uu
parent: tridge at samba.org-20070530011250-14bp0fktewrcdybm
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Wed 2007-05-30 11:17:52 +1000
message:
  fixed onnode symlink install
modified:
  packaging/RHEL/ctdb.spec       ctdb.spec-20070527204758-biuh7znabuwan3zn-3
=== modified file 'packaging/RHEL/ctdb.spec'
--- a/packaging/RHEL/ctdb.spec	2007-05-30 01:00:43 +0000
+++ b/packaging/RHEL/ctdb.spec	2007-05-30 01:17:52 +0000
@@ -68,10 +68,10 @@
 install -m755 tools/events $RPM_BUILD_ROOT%{_sysconfdir}/ctdb/events
 install -m755 tools/onnode.ssh $RPM_BUILD_ROOT%{_bindir}
 install -m755 tools/onnode.rsh $RPM_BUILD_ROOT%{_bindir}
-ln -sf %{_bindir}/onnode.ssh onnode
+ln -sf %{_bindir}/onnode.ssh $RPM_BUILD_ROOT%{_bindir}/onnode
 
 # unfortunately samba3 needs ctdb_private.h too
-install -m644 include/ctdb_private.h %{_includedir}/ctdb_private.h
+install -m644 include/ctdb_private.h $RPM_BUILD_ROOT%{_includedir}/ctdb_private.h
 
 
 # Remove "*.old" files
@@ -109,5 +109,9 @@
 %{_sysconfdir}/ctdb/events
 %{_sbindir}/ctdbd
 %{_bindir}/ctdb
+%{_bindir}/onnode.ssh
+%{_bindir}/onnode.rsh
+%{_bindir}/onnode
 %{_includedir}/ctdb.h
 %{_includedir}/ctdb_private.h
+



More information about the samba-cvs mailing list