]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
fixed onnode symlink install
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 May 2007 01:17:52 +0000 (11:17 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 30 May 2007 01:17:52 +0000 (11:17 +1000)
(This used to be ctdb commit fd6a474fb52263512a0496ec8c9dc5443902d45a)

ctdb/packaging/RHEL/ctdb.spec

index af05333a52eb4ba16954ea550ec8439aa3bce48b..9bba5683b15a192ef8a178b07dacdfed7a740e12 100644 (file)
@@ -68,10 +68,10 @@ install -m755 setup/ctdb.init $RPM_BUILD_ROOT%{initdir}/ctdb
 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 @@ fi
 %{_sysconfdir}/ctdb/events
 %{_sbindir}/ctdbd
 %{_bindir}/ctdb
+%{_bindir}/onnode.ssh
+%{_bindir}/onnode.rsh
+%{_bindir}/onnode
 %{_includedir}/ctdb.h
 %{_includedir}/ctdb_private.h
+