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
e026278d
Commit
e026278d
authored
May 10, 2016
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output stream errors should not fail the build
parent
8010e251
Changes
1
Hide 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 @
e026278d
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