diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20130103/038c3baf | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130103/038c3baf')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment-0001.html | 23 | ||||
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment.html | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment-0001.html new file mode 100644 index 000000000..80e2c6b35 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment-0001.html @@ -0,0 +1,23 @@ +<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 5:23 PM, David Walser <span dir="ltr"><<a href="mailto:luigiwalser@yahoo.com" target="_blank">luigiwalser@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> + +<div class="im"><br></div><div class="im"> +> for i in %{_datadir}/%{name}/basewsw/*;<br> +> do<br> +> file=`basename $i`<br> +><br> +> ln -sf $i %{buildroot}%{gamelibdir}/basewsw/$file<br> +> done<br> +<br> +</div>Looks better, that should make relative links.<br> +<br> +The problem is in the first line, the %{_datadir}/%{name}/basewsw/*<br> +should have a %{buildroot} at the beginning of it. Otherwise, it's matching<br> +against files on your actual system already installed at that location,<br> +which of course won't be there on the build system. That's why the * doesn't<br> +match anything, and becomes a literal *.<br> +<br> +</blockquote></div><br><br clear="all"><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I had tried that before, but on that case, on my local build the symlinks are created like this:</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> + +<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div>ll /usr/lib64/games/warsow/basewsw/</div><div>total 4</div><div>lrwxrwxrwx 1 root root 114 Jan 3 18:01 * -> ../../../../../home/cauldron/mageia/cauldron/warsow/BUILDROOT/warsow-1.02-5.mga3.x86_64/usr/share/warsow/basewsw/*</div> + +<div><br></div></div></div>-- <br>Juancho diff --git a/zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment.html b/zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment.html new file mode 100644 index 000000000..80e2c6b35 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130103/038c3baf/attachment.html @@ -0,0 +1,23 @@ +<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 5:23 PM, David Walser <span dir="ltr"><<a href="mailto:luigiwalser@yahoo.com" target="_blank">luigiwalser@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> + +<div class="im"><br></div><div class="im"> +> for i in %{_datadir}/%{name}/basewsw/*;<br> +> do<br> +> file=`basename $i`<br> +><br> +> ln -sf $i %{buildroot}%{gamelibdir}/basewsw/$file<br> +> done<br> +<br> +</div>Looks better, that should make relative links.<br> +<br> +The problem is in the first line, the %{_datadir}/%{name}/basewsw/*<br> +should have a %{buildroot} at the beginning of it. Otherwise, it's matching<br> +against files on your actual system already installed at that location,<br> +which of course won't be there on the build system. That's why the * doesn't<br> +match anything, and becomes a literal *.<br> +<br> +</blockquote></div><br><br clear="all"><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I had tried that before, but on that case, on my local build the symlinks are created like this:</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> + +<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div>ll /usr/lib64/games/warsow/basewsw/</div><div>total 4</div><div>lrwxrwxrwx 1 root root 114 Jan 3 18:01 * -> ../../../../../home/cauldron/mageia/cauldron/warsow/BUILDROOT/warsow-1.02-5.mga3.x86_64/usr/share/warsow/basewsw/*</div> + +<div><br></div></div></div>-- <br>Juancho |