RE: How to do an echo with a variable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux