#9434: Stop greping for a non-existent sage-banner
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by leif):
You could use
{{{
#!sh
...
if [ -f "$SAGE_ROOT/VERSION.txt" ]; then
sed -i -e "1iSage version: $SAGE_VERSION, Release date:
$SAGE_RELEASE_DATE\nUpdated from $OLD_VERSION"
else
...
}}}
to avoid {{{cat}}} ... ;-)
(Perhaps omit the newline, i.e. replace it by e.g. two spaces.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9434#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.