Author: adamg Date: Tue Jan 17 13:22:47 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - support for make-request.sh style of passing cvstag
---- Files affected: SPECS: builder (1.379 -> 1.380) ---- Diffs: ================================================================ Index: SPECS/builder diff -u SPECS/builder:1.379 SPECS/builder:1.380 --- SPECS/builder:1.379 Tue Jan 17 02:04:28 2006 +++ SPECS/builder Tue Jan 17 14:22:42 2006 @@ -187,7 +187,7 @@ [-Ts|--tag-stable] [-Tn|--tag-nest] [-Tv|--tag-version] [{-Tp|--tag-prefix} <prefix>] [{-tt|--test-tag}] [-nu|--no-urls] [-v|--verbose] [--opts <rpm opts>] [--show-bconds] -[--with/--without <feature>] [--define <macro> <value>] <package>[.spec] +[--with/--without <feature>] [--define <macro> <value>] <package>[.spec][:cvstag] -5, --update-md5 - update md5 comments in spec, implies -nd -ncs -a5, --add-md5 - add md5 comments to URL sources, implies -nc -nd -ncs @@ -1702,6 +1702,11 @@ RPMOPTS="${RPMOPTS} -debug"; shift ;; * ) SPECFILE="${1}" + # check if specname was passed as specname:cvstag + if [ "${SPECFILE##*:}" != "${SPECFILE}" ]; then + CVSTAG="${SPECFILE##*:}"; + SPECFILE="${SPECFILE%%:*}"; + fi export PROMPT_COMMAND=`echo -ne "\033]0;${SPECFILE}\007"` shift ;; esac ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/builder?r1=1.379&r2=1.380&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit