Trying to use .bset env "VAR...
I am tryiing to use the following in a step and it gives me cleartool desc error
.bset env "VAR=`perl -e "qx(cleartool desc -fmt %An stream:STREAM@\\pvob"`" and I get the error cleartool: Error: Object not selected... and it gives me cleartool describe help. However, if I use lsstream -s instead of desc -fmt.... it seems to work fine. I am not able to get desc -fmt to work. Also is there an easy way if I dont' have the adapters to print the existing baseline in the stream in an email. I don't want to save anything locally on the machine to make it work, I just want a variable. Thanks, Sunil |
2 answers
I am tryiing to use the following in a step and it gives me cleartool desc error Hi Sunil, What operating system is your agent running on? Sometimes, things like \\ don't translate well across the different platforms (ex. \\ ending up as \). One thing you might consider is to have a file with the command in your source control system that can be checked out. Then you could use the bset backtick command to just invoke that file. Brent Ulbricht Developer/Lead - RTC Build |
In article <io6cm0>,
suniljag <sjagarlamudi> wrote: I am tryiing to use the following in a step and it gives me cleartool (I read this as a newsgroup. Oddly, something strips leading periods, perhaps at the newsgroup-forum interface. I restored it.) It really allows "" within "" like that? I would have expected the parser for .bset to get confused and parse it as .bset env "VAR=`perl -e " qx(cleartool desc -fmt %An stream:STREAM@\\pvob kaboom kaboom KABOOM!: arguments not in double quotes Are the parsing rules documented? -- Tim McDaniel, tmcd@panix.com |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.