From f4b68d125d9404b6054980b34fcc2f4f0512aabb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 29 Nov 2008 21:22:46 +0000 Subject: [PATCH] updatedb build changed a bit git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28751 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/findutils/locate/Jamfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/bin/findutils/locate/Jamfile b/src/bin/findutils/locate/Jamfile index 6e868e89d7..8b093b78df 100644 --- a/src/bin/findutils/locate/Jamfile +++ b/src/bin/findutils/locate/Jamfile @@ -39,18 +39,19 @@ actions MkUpdateDb1 { sed \ -e "s,@bindir@,/bin," \ - -e "s,@libexecdir@,/etc/libexec/locate," \ + -e "s,@libexecdir@,/bin," \ -e "s,@LOCATE_DB@,/var/locatedb," \ - -e "s,@version@,`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q $(2[2])`," \ + -e "s,@VERSION@,4.2.33," \ -e "s,@find@,find," \ -e "s,@frcode@,frcode," \ -e "s,@bigram@,bigram," \ -e "s,@code@,code," \ + -e "s,@SORT@,/bin/sort," \ + -e "s,@SORT_SUPPORTS_Z@,true," \ $(2[1]) > $(1) ; } -MkUpdateDb updatedbgen : updatedb.sh [ FGristFiles version.c ] ; +MkUpdateDb updatedbgen : updatedb.sh ; MakeLocatePlatform updatedb ; Shell updatedb : updatedbgen ; -SEARCH on [ FGristFiles version.c ] = [ FDirName $(SUBDIR) $(DOTDOT) find ] ;