commit 52aad137bb4466f860ef4d7cd698090ee26b6e71
Author: Elan Ruusamäe <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to