SPECS: builder - display NVR in title if available
glen
glen at pld-linux.org
Wed Apr 5 12:45:04 CEST 2006
Author: glen Date: Wed Apr 5 10:45:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- display NVR in title if available
---- Files affected:
SPECS:
builder (1.412 -> 1.413)
---- Diffs:
================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.412 SPECS/builder:1.413
--- SPECS/builder:1.412 Wed Mar 29 00:23:32 2006
+++ SPECS/builder Wed Apr 5 12:44:59 2006
@@ -306,7 +306,14 @@
fi
if [ "x$TITLECHANGE" == "xyes" -o "x$TITLECHANGE" == "x" ]; then
- msg="${SPECFILE}: ${SHELL_TITLE_PREFIX:+$SHELL_TITLE_PREFIX }$msg"
+ local pkg
+ if [ -n "$PACKAGE_NAME" ]; then
+ pkg=${PACKAGE_NAME}-${PACKAGE_VERSION}-${PACKAGE_RELEASE}
+ else
+ pkg=${SPECFILE}
+ fi
+
+ msg="$pkg: ${SHELL_TITLE_PREFIX:+$SHELL_TITLE_PREFIX }$msg"
case "$TERM" in
cygwin|xterm*)
echo >&2 -ne "\033]1;$msg\007\033]2;$msg\007"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/builder?r1=1.412&r2=1.413&f=u
More information about the pld-cvs-commit
mailing list