Re: Question about quoting variables.

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

 



Replace % to %%

Valery

--- "Steven W. Orr" <steveo@xxxxxxxxxxx> wrote:

> In my %post I want to
> 
> cp /etc/inittab /etc/inittab-$(date
> "+%Y%m%d-%k%M%S")
> 
> but it doesn't do what I want because the %S seems
> to expand to SOURCE. 
> How do I prevent a variable from being expanded by
> rpm?
> 
> TIA
> 
> 
> -- 
> Time flies like the wind. Fruit flies like a banana.
> Stranger things have  .0.
> happened but none stranger than this. Does your
> driver's license say Organ ..0
> Donor?Black holes are where God divided by zero.
> Listen to me! We are all- 000
> individuals! What if this weren't a hypothetical
> question?
> steveo at syslang.net
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
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