From fab81d4607cdc1f332808502e695cc7fa59ce764 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Tue, 31 May 2011 10:26:08 +0100 Subject: [PATCH 2/2] Minor fixes in import-gnulib.sh. To: address@hidden * import-gnulib.sh (fixmsg): Fix punctuation in the commands given for installing the changelog driver. (usage): Explain what the -a option does. (run_gnulib_tool): delete broken symlinks in the output directory, not the gnulib source. (check_merge_driver): fix the path to the ChangeLog merge driver source. --- ChangeLog | 11 +++++++++++ import-gnulib.sh | 13 ++++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4372fc5..4b791e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2011-05-31 James Youngman + + Minor fixes in import-gnulib.sh. + * import-gnulib.sh (fixmsg): Fix punctuation in the commands given + for installing the changelog driver. + (usage): Explain what the -a option does. + (run_gnulib_tool): delete broken symlinks in the output directory, + not the gnulib source. + (check_merge_driver): fix the path to the ChangeLog merge driver + source. + 2011-05-30 James Youngman Manage gnulib as a git submodule. diff --git a/import-gnulib.sh b/import-gnulib.sh index 1f7d8bd..cf4f8f0 100755 --- a/import-gnulib.sh +++ b/import-gnulib.sh @@ -44,7 +44,7 @@ original_cmd_line_args="$@" usage() { cat >&2 </dev/null || : + find -L "${gldest}" -lname '*' -delete 2>/dev/null || : } rehack() { @@ -239,14 +242,14 @@ check_merge_driver() { We recommend that you use a git merge driver for the ChangeLog file. This simplifies the task of merging branches. -Please see the README section in gnulib-git/gnulib/lib/git-merge-changelog.c +Please see the README section in gnulib/gnulib/lib/git-merge-changelog.c If you've read that and don't want to use it, just set the environment variable DO_NOT_WANT_CHANGELOG_DRIVER. Example: git config merge.merge-changelog.name 'GNU-style ChangeLog merge driver' - git config merge.merge-changelog.driver /usr/local/bin/git-merge-changelog %O %A %B + git config merge.merge-changelog.driver '/usr/local/bin/git-merge-changelog %O %A %B' echo 'ChangeLog merge=merge-changelog' >> .gitattributes " if [ -z "$DO_NOT_WANT_CHANGELOG_DRIVER" ] ; then @@ -325,7 +328,7 @@ main() { done # We need the config file to tell us which modules - # to use, even if we don't want to know the CVS version. + # to use, even if we don't want to know the gnulib version. . $configfile || exit 1 ## If -d was not given, do update -- 1.7.2.5