Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
7d7ace42
Commit
7d7ace42
authored
Jun 10, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduce echocon (print only if there is real console) and use it
parent
ae773837
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gpull
bin/gpull
+2
-2
gettext
share/eterbuild/functions/gettext
+4
-0
No files found.
bin/gpull
View file @
7d7ace42
...
...
@@ -57,9 +57,9 @@ if [ -n "$ALLBRANCHES" ] ; then
fi
if
[
-n
"
$CHECKONLY
"
]
;
then
echo
"Pull repo from
$REPO
"
echo
con
"Pull repo from
$REPO
"
UPTODATEres
=
`
git pull
$REBASE
$REPO
$@
`
echo
$UPTODATEres
echo
con
$UPTODATEres
echo
$UPTODATEres
|
tail
-n1
|
grep
-q
"is up to date"
exit
fi
...
...
share/eterbuild/functions/gettext
View file @
7d7ace42
...
...
@@ -27,3 +27,7 @@ echog()
fi
}
echocon
()
{
tty
-s
&&
echo
"
$@
"
}
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