From b6387b954f7c35d0d51978aac24ca6bd6a5308fc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 30 May 2007 11:04:49 -0400 Subject: scripts: do autoconf path replacement right This should finally get the path replacement in our scripts right. This is the way the autoconf package itself does it and should not need much further tweaking. Threw in a few trailing whitespace corrections from the scripts as well. Signed-off-by: Dan McGee --- scripts/pacman-optimize.in | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'scripts/pacman-optimize.in') diff --git a/scripts/pacman-optimize.in b/scripts/pacman-optimize.in index ca6378f2..0224b7c3 100644 --- a/scripts/pacman-optimize.in +++ b/scripts/pacman-optimize.in @@ -1,22 +1,23 @@ #!/bin/bash -# +# # pacman-optimize -# +# @configure_input@ +# # Copyright (c) 2002-2007 by Judd Vinet -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. # @@ -39,7 +40,7 @@ error() { usage() { echo "pacman-optimize (pacman) $myver" echo "usage: $0 [pacman_db_root]" - echo + echo echo "pacman-optimize is a little hack that should improve the performance" echo "of pacman when reading/writing to its filesystem-based database." echo -- cgit v1.2.3-70-g09d2