Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
b10c5e16
Commit
b10c5e16
authored
Sep 06, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use $TMPDIR instead of /tmp if present. Closes #22.
parent
20f7b5c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
bin/ruby-build
+8
-2
No files found.
bin/ruby-build
View file @
b10c5e16
...
@@ -191,9 +191,15 @@ fi
...
@@ -191,9 +191,15 @@ fi
mkdir
-p
"
$2
"
mkdir
-p
"
$2
"
PREFIX_PATH
=
"
$(
abs_dirname
"
$2
"
)
"
PREFIX_PATH
=
"
$(
abs_dirname
"
$2
"
)
"
if
[
-z
"
$TMPDIR
"
]
;
then
TMP
=
"/tmp"
else
TMP
=
"
${
TMPDIR
%/
}
"
fi
SEED
=
"
$(
date
"+%Y%m%d%H%M%S"
)
.
$$
"
SEED
=
"
$(
date
"+%Y%m%d%H%M%S"
)
.
$$
"
LOG_PATH
=
"
/tmp
/ruby-build.
${
SEED
}
.log"
LOG_PATH
=
"
${
TMP
}
/ruby-build.
${
SEED
}
.log"
TEMP_PATH
=
"
/tmp
/ruby-build.
${
SEED
}
"
TEMP_PATH
=
"
${
TMP
}
/ruby-build.
${
SEED
}
"
RUBY_BIN
=
"
${
PREFIX_PATH
}
/bin/ruby"
RUBY_BIN
=
"
${
PREFIX_PATH
}
/bin/ruby"
CWD
=
"
$(
pwd
)
"
CWD
=
"
$(
pwd
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment