<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 6 December 2016 at 16:37, Andreas Oberritter <span dir="ltr">&lt;<a href="mailto:obi@opendreambox.org" target="_blank">obi@opendreambox.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:2xi" class="gmail-a3s gmail-aXjCH gmail-m158d500082e7c2b4">I was asking because the result after stripping would essentially equal<br>
${sysconfdir_native}:<br>
<br>
STAGING_ETCDIR_NATIVE = &quot;${STAGING_DIR_NATIVE}${<wbr>sysconfdir_native}&quot;<br>
<br>
It wouldn&#39;t work if someone set it to &quot;${STAGING_DIR_NATIVE}/foo&quot;<br>
without adjusting sysconfdir_native, but on the other hand someone could<br>
just as well use &quot;/path-outside-staging-dir-<wbr>native/etc&quot;, which would<br>
break attempts to strip the prefix, too. I&#39;d guess the assumption that<br>
STAGING_ETCDIR_NATIVE doesn&#39;t get changed alone should be safe.<br></div></blockquote></div><br></div><div class="gmail_extra">Ah yes, I misread the order of evaluation.  That should work.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>