RE: Preserve $HOME in %post?

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

 



On Wed, 2006-03-08 at 11:06 -0800, Shabazian, Chip wrote:
> Just escape out the $
> 
> cat <<EOF >>/home/test/.rpmmacros
> %_topdir %(echo \$HOME)/redhat
> EOF
> chown test.test /home/test/.rpmmacros 

Thanks, will give it a try.

Regards,
Patrck


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux