Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
faedadce
Commit
faedadce
authored
May 13, 2016
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #314 from heroku/no-err-on-output
output stream errors should not fail the build
parents
8010e251
e026278d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
output.sh
lib/output.sh
+7
-7
No files found.
lib/output.sh
View file @
faedadce
info
()
{
info
()
{
echo
"
$*
"
echo
"
$*
"
||
true
}
}
# format output and send a copy to the log
# format output and send a copy to the log
...
@@ -8,17 +8,17 @@ output() {
...
@@ -8,17 +8,17 @@ output() {
while
read
LINE
;
while
read
LINE
;
do
do
echo
"
$LINE
"
echo
"
$LINE
"
||
true
echo
"
$LINE
"
>>
"
$logfile
"
echo
"
$LINE
"
>>
"
$logfile
"
||
true
done
done
}
}
header
()
{
header
()
{
echo
""
echo
""
||
true
echo
"----->
$*
"
echo
"----->
$*
"
||
true
}
}
error
()
{
error
()
{
echo
" !
$*
"
>
&2
echo
" !
$*
"
>
&2
||
true
echo
""
echo
""
||
true
}
}
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