Author: glen Date: Thu Feb 4 11:42:54 2010 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- allow -c - to read command from stdin (no more need to whack around with
shell escaping)
---- Files affected:
pld-builder.new/client:
make-request.sh (1.63 -> 1.64)
---- Diffs:
================================================================
Index: pld-builder.new/client/make-request.sh
diff -u pld-builder.new/client/make-request.sh:1.63
pld-builder.new/client/make-request.sh:1.64
--- pld-builder.new/client/make-request.sh:1.63 Tue Jan 19 16:31:10 2010
+++ pld-builder.new/client/make-request.sh Thu Feb 4 12:42:49 2010
@@ -222,6 +222,12 @@
--command | -c )
command="$2"
+ if [ $command = - ]; then
+ echo >&2 "Reading command from STDIN"
+ echo >&2 "---"
+ command=$(cat)
+ echo >&2 "---"
+ fi
f_upgrade=no
shift
;;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/client/make-request.sh?r1=1.63&r2=1.64&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit