by
0
6
2,747
7
Top 1% !
Popular
Famous
Tagged
Specified
OpenSource
Popularity: 4638th place
Created
Modified Oct 21, 2014

Published on:

Languagebash
LicenseMIT_X11

Get the correct RPM Build directory

Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/203278/Get-the-correct-RPM-Build-directory?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
rpmdir="$(grep "^%_topdir" /usr/lib/rpm/macros | sed -e s#"^.*%{getenv:HOME}"#"${HOME}"#g -e s#"^.*%{_usrsrc}"#"/usr/src"#g)";
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus