sm-users AT lists.ibiblio.org
Subject: Sourcemage Users List
List archive
- From: Juuso Alasuutari <iuso AT sourcemage.org>
- To: sm-users AT lists.ibiblio.org
- Subject: Re: [SM-Users] mcdp spell?
- Date: Sat, 28 Apr 2007 00:42:19 +0300
Eric Sandall wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Javier Vasquez wrote:
<snip>
Looking at the previous description, I guess the patch instruction
needs to go under PRE_BUILD. Only thing is that this is a personal
patch, and I don't have any http/ftp server. I'll see if the patch is
accepted by the mcdp developer, and if not, well, I wouldn't know if
the spell I can come up with will be of any use for others (good thing
is that when browsing about "sourcemage mcdp", I found nothing, so
most probably there's no one interested on mcdp but me). At any rate
I'll try writing one and post it here if I get it to work. I'm just
new to this, :).
You can include the patch in the spell directory. In PRE_BUILD, you
would reference it like this:
- ----
patch -p1 < $SCRIPT_DIRECTORY/uninstall-fix.patch
- ----
Where $SCRIPT_DIRECTORY refers to the location of the spell files. It's
also preferable to submit patches upstream (as you said you'd do ;)) so
that we don't have to keep patching the program.
Paranoid as I am, I'd quote the path like so:
patch -p1 < "$SCRIPT_DIRECTORY/uninstall-fix.patch"
...just to make sure that it'll still work if $SCRIPT_DIRECTORY contains whitespaces (although that is a very rare occasion). :)
J
-
[SM-Users] mcdp spell?,
Javier Vasquez, 04/26/2007
- Re: [SM-Users] mcdp spell?, Thomas Orgis, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Juuso Alasuutari, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Javier Vasquez, 04/27/2007
- Re: [SM-Users] mcdp spell?, Florian Franzmann, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Eric Sandall, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Juuso Alasuutari, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Andraž 'ruskie' Levstik, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Juuso Alasuutari, 04/28/2007
- Re: [SM-Users] mcdp spell?, Eric Sandall, 04/28/2007
- Re: [SM-Users] mcdp spell?, Javier Vasquez, 04/28/2007
- Re: [SM-Users] mcdp spell?, Florian Franzmann, 04/28/2007
- Re: [SM-Users] mcdp spell?, Jeremy Blosser, 04/28/2007
- Re: [SM-Users] mcdp spell?, Javier Vasquez, 04/29/2007
-
Re: [SM-Users] mcdp spell?,
Juuso Alasuutari, 04/28/2007
-
Re: [SM-Users] mcdp spell?,
Andraž 'ruskie' Levstik, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Juuso Alasuutari, 04/27/2007
-
Re: [SM-Users] mcdp spell?,
Javier Vasquez, 04/27/2007
Archive powered by MHonArc 2.6.24.