![]() |
Temporarily change /tmp
Hi all,
Basically, I am trying to build some software using SlackBuilds, but I do not have sufficient space on /tmp. Is there a way of temporarily redirecting /tmp or to build the package in an alternate directory? Regards, Jack |
Hello, yes you can run the following command
Quote:
|
just pass to the build script the variable TMP, like
Code:
TMP=/my/path ./script.SlackBuild |
Ok cool,
Thanks a lot. Regards, Jack |
There should be a line in every slackbuild like this:
Code:
TMP=${TMP:-/tmp/SBo}Code:
# export TMP=/alternate/tmp/pathOr for each slackbuild: Code:
# TMP=/alternate/tmp/path ./foo.Slackbuild |
| All times are GMT -5. The time now is 06:12 PM. |