From 0c3beb90549de02b703f71f605884a904d935335 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 19 Aug 2010 12:57:42 +0000 Subject: [PATCH] - try to add logfile to .cvsignore Changed files: builder.sh -> 1.624 --- builder.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/builder.sh b/builder.sh index c0c2355..b69aacf 100644 --- a/builder.sh +++ b/builder.sh @@ -738,6 +738,15 @@ get_spec() { rm "$ASSUMED_NAME/CVS/Entries.Static" cvsignore_df .cvsignore + # add default log format to .cvsignore if it is relative + if [ "$LOGFILE" == $(basename "$LOGFILE") ]; then + # substitute known "macros" to glob + local logfile=$(echo "$LOGFILE" | sed -e 's,\$\(PACKAGE_NAME\|DATE\),*,g') + if [ "$logfile" ]; then + cvsignore_df "$logfile" + fi + fi + # create symlinks for tools if [ "$SYMLINK_TOOLS" != "no" ]; then for a in dropin md5 adapter builder {relup,compile,repackage,rsync,pearize}.sh pldnotify.awk; do -- 2.44.0