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
057d1314
Commit
057d1314
authored
Nov 13, 2012
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only print "Downloading..." message when actually downloading a file
parent
db134472
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
bin/ruby-build
+8
-7
No files found.
bin/ruby-build
View file @
057d1314
...
...
@@ -147,13 +147,14 @@ fetch_tarball() {
filename
=
"
${
RUBY_BUILD_CACHE_PATH
}
/
${
filename
}
"
fi
echo
"Downloading
${
package_url
}
..."
>
&2
{
if
[
!
-e
"
$filename
"
]
;
then
fetch_url
"
$package_url
"
>
"
${
package_name
}
.tar.gz"
[
-n
"
$RUBY_BUILD_CACHE_PATH
"
]
&&
mv
"
${
package_name
}
.tar.gz"
"
$filename
"
fi
tar
xzvf
"
$filename
"
}
>
&4 2>&1
if
[
!
-e
"
$filename
"
]
;
then
echo
"Downloading
${
package_url
}
..."
>
&2
{
fetch_url
"
$package_url
"
>
"
${
package_name
}
.tar.gz"
[
-z
"
$RUBY_BUILD_CACHE_PATH
"
]
||
mv
"
${
package_name
}
.tar.gz"
"
$filename
"
}
>
&4 2>&1
fi
tar
xzvf
"
$filename
"
>
&4 2>&1
}
fetch_git
()
{
...
...
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