[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: How to do an echo with a variable?
- From: "James Welch \(jimwelc\)" <jimwelc cisco com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: RE: How to do an echo with a variable?
- Date: Fri, 14 Jul 2006 10:16:46 -0400
Hello Murilo,
Are you just referring to echoing an environment variable from within one of your scriptlets at rpm run time? If so:
> LIBS="TEST"
> echo "${LIBS}"
If you are referring to echoing a spec files %define then you must use:
> %define LIBS "TEST"
> echo "%{LIBS}"
-Jim
-----Original Message-----
From: rpm-list-bounces redhat com [mailto:rpm-list-bounces redhat com] On Behalf Of Murilo Opsfelder Araújo
Sent: Friday, July 14, 2006 9:29 AM
To: RPM-list Red Hat
Subject: How to do an echo with a variable?
Hi all,
how to do an echo command with a variable? I have in my .spec file a
$(LIBS) variable and I would like to know your value.
Thanks in advance.
--
Murilo Opsfelder Araújo
Linux User #391561
./murilo --opsfelder='araujo'
_______________________________________________
Rpm-list mailing list
Rpm-list redhat com
https://www.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]