From cb710267cd2754f01776d625368ce350f87b6d68 Mon Sep 17 00:00:00 2001 From: Tobias Ellinghaus Date: Mon, 25 Jul 2011 22:50:53 +0200 Subject: [PATCH 1/1] Remove dependancy on git Building a tgz package created using "make pkgsrc" didn't have a correct build/src/accelstrings_gen.h as the script creating that file used "git grep" which doesn't work when not inside of a git tree. Instead, we now use "git -r". --- tools/create_accel_strings.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/create_accel_strings.sh b/tools/create_accel_strings.sh index 1658dbb..b86e557 100755 --- a/tools/create_accel_strings.sh +++ b/tools/create_accel_strings.sh @@ -1,9 +1,9 @@ #!/bin/sh # Finding all the module names -modules=`git grep 'add_library( *[a-zA-Z0-9]\+ *MODULE *[^)]\+' | \ +modules=`grep -r 'add_library( *[a-zA-Z0-9]\+ *MODULE *[^)]\+' $1 | \ sed 's/[^:]*:[^a]*add_library( *\([^ ]\+\).*/\1/p' | sort | uniq` -words=`git grep '\"' $1 | \ +words=`grep -r '\"' $1 | \ sed 's/[^"]*"\([^"]\+\)"[^"]*/\1/' | tr '/' '\n' | \ sort | uniq` -- 1.7.1