X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5691bf57fb139bfcccdd259f74c25c54ec00370c..c7c8ecd1df6d45686dcd9cf9cd78314b9eb70855:/bootstrap?ds=sidebyside diff --git a/bootstrap b/bootstrap index c3ddd267..33825b7a 100755 --- a/bootstrap +++ b/bootstrap @@ -2,7 +2,7 @@ # Bootstrap this package from CVS. -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. # 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 @@ -315,7 +315,7 @@ cp_mark_as_generated() if test -z "$c1"; then cmp -s "$cp_src" "$cp_dst" || { echo "$0: cp -f $cp_src $cp_dst" && - cp -f "$cp_src" "$cp_dst" + sed 's/\.#bootmp\///g' "$cp_src" > "$cp_dst" } else # Copy the file first to get proper permissions if it @@ -324,7 +324,7 @@ cp_mark_as_generated() ( echo "$c1-*- buffer-read-only: t -*- vi: set ro:$c2" && echo "${c1}DO NOT EDIT! GENERATED AUTOMATICALLY!$c2" && - cat "$cp_src" + sed 's/\.#bootmp\///g' "$cp_src" ) > $cp_dst-t && if cmp -s "$cp_dst-t" "$cp_dst"; then rm -f "$cp_dst-t"