[Slackbuilds-users] How to contribute ?
alan at lizella.net
Mon Jan 5 06:26:28 UTC 2009
On Sun, Jan 04, 2009 at 09:49:45PM -0800, Phillip Warner wrote:
> > TMP="$HOME/tmp/SBo" ; export TMP
> > TAG="_whatever" ; export TAG
> > ./prgnam.SlackBuild
> > ./someotherthing.SlackBuild
> > ./somethingelse.SlackBuild
> Unfortunately, if you are going to really test the scripts as a normal
> user you still have to comment out the "chown root:root" line in all of
> the scripts. You could probably safely sed all of the *.SlackBuild
> files, but ideally all of the scripts would have one switch to allow you
> to test the SlackBuilds as a user. Activating the switch could skip the
> chown line, change TMP so it's under $HOME, and change the build tag
> (say _SBo-test) so the created package is flagged as a test package.
> Perhaps in the future something like that could be added to the template
> and then all of the current SlackBuilds.
Honestly I don't see what the big deal is about all this. If you really
want to run a script as a user for testing purposes and you're too lazy
to comment out the chown/chmod lines and the like yourself, the
following code should work flawlessly. Put it in your .bashrc or
.bash_profile or whatever you use.
Call it thusly.
Happy now? Hopefully this discussion can finally die.
 flawlessly (adj.)
Completely untested, but deemed so simple and obvious that the
creator could not possibly have made any mistakes.
-- Alan Hicks' Guide to Jargon
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
More information about the SlackBuilds-users