[packages/rpm-build-tools/full-changelog] builder: understand $TARGET in $LOGFILE to be stripped when adding to .itignore
glen
glen at pld-linux.org
Sat Aug 18 10:48:46 CEST 2012
commit 52aad137bb4466f860ef4d7cd698090ee26b6e71
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Aug 18 11:48:42 2012 +0300
builder: understand $TARGET in $LOGFILE to be stripped when adding to .itignore
builder.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index 997c71d..277e87b 100755
--- a/builder.sh
+++ b/builder.sh
@@ -927,7 +927,7 @@ get_spec() {
# add default log format to .gitignore if it is relative to package dir
if [ -n "$LOGFILE" -a "$LOGFILE" = "${LOGFILE##*/}" ]; then
# substitute known "macros" to glob
- local logfile=$(echo "$LOGFILE" | sed -e 's,\$\(PACKAGE_NAME\|DATE\),*,g')
+ local logfile=$(echo "$LOGFILE" | sed -e 's,\$\(PACKAGE_NAME\|DATE\|TARGET\),*,g')
if [ "$logfile" ]; then
cvsignore_df "$logfile"
fi
More information about the pld-cvs-commit
mailing list