From 99f39f12e1c69c9a3b20a7becbdec58d5bfd8981 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 30 Jan 2014 18:05:09 +0100 Subject: doc/faq/gnulib.md: Cosmetic changes diff --git a/web/input/doc/faq/gnulib.md b/web/input/doc/faq/gnulib.md index 0ad917d..9228bd5 100644 --- a/web/input/doc/faq/gnulib.md +++ b/web/input/doc/faq/gnulib.md @@ -24,8 +24,8 @@ provide that function), the [corresponding module][modules] must be imported using `gnulib-tool`, e.g. (in order to add the `strcase` module): $ cd monitoring-plugins - $ git log --oneline|grep 'Sync with the latest Gnulib code'|head - $ (cd ../gnulib; git checkout ) # where is the most recent hash in the commit messages returned) + $ git log -1 --format='%s' --grep='^Sync with the latest Gnulib code' + $ (cd ../gnulib && git checkout ) # where is the one from above $ ../gnulib/gnulib-tool --no-vc-files --add strcase $ find gl -name '*~' | xargs rm $ git status -- cgit v0.10-9-g596f