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
c9de6833
Commit
c9de6833
authored
Sep 14, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pushd and popd are noisy
parent
a5325806
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bin/ruby-build
+4
-4
No files found.
bin/ruby-build
View file @
c9de6833
...
@@ -48,11 +48,11 @@ install_package_using() {
...
@@ -48,11 +48,11 @@ install_package_using() {
local
package_name
=
"
$3
"
local
package_name
=
"
$3
"
shift
3
shift
3
pushd
"
$TEMP_PATH
"
pushd
"
$TEMP_PATH
"
>
&4
"fetch_
${
package_type
}
"
"
$package_name
"
$*
"fetch_
${
package_type
}
"
"
$package_name
"
$*
shift
$((
$package_type_nargs
))
shift
$((
$package_type_nargs
))
make_package
"
$package_name
"
$*
make_package
"
$package_name
"
$*
popd
popd
>
&4
echo
"Installed
${
package_name
}
to
${
PREFIX_PATH
}
"
>
&2
echo
"Installed
${
package_name
}
to
${
PREFIX_PATH
}
"
>
&2
}
}
...
@@ -61,11 +61,11 @@ make_package() {
...
@@ -61,11 +61,11 @@ make_package() {
local
package_name
=
"
$1
"
local
package_name
=
"
$1
"
shift
shift
pushd
"
$package_name
"
pushd
"
$package_name
"
>
&4
build_package
"
$package_name
"
$*
build_package
"
$package_name
"
$*
after_install_package
"
$package_name
"
after_install_package
"
$package_name
"
fix_directory_permissions
fix_directory_permissions
popd
popd
>
&4
echo
"Installed
${
package_name
}
to
${
PREFIX_PATH
}
"
>
&2
echo
"Installed
${
package_name
}
to
${
PREFIX_PATH
}
"
>
&2
}
}
...
...
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