This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ticket/6018-DirichletGroup_zeta
Conflicts: src/sage/modular/dirichlet.py
- Loading branch information
Showing
2,220 changed files
with
157,266 additions
and
46,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Sage version 6.8.rc0, released 2015-07-15 | ||
Sage version 7.0, released 2016-01-19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# sage-logger COMMAND LOGFILE | ||
# | ||
# Evaluate shell command COMMAND while logging stdout and stderr to | ||
# LOGFILE. If either the command or the logging failed, return a | ||
# non-zero exit status. | ||
# | ||
# AUTHOR: | ||
# | ||
# - Jeroen Demeyer (2015-07-26): initial version based on old pipestatus | ||
# script (#18953) | ||
# | ||
#***************************************************************************** | ||
# Copyright (C) 2015 Jeroen Demeyer <[email protected]> | ||
# | ||
# Distributed under the terms of the GNU General Public License (GPL) | ||
# as published by the Free Software Foundation; either version 2 of | ||
# the License, or (at your option) any later version. | ||
# http://www.gnu.org/licenses/ | ||
#***************************************************************************** | ||
|
||
cmd="$1" | ||
logfile="$2" | ||
logdir=`dirname "$logfile"` | ||
|
||
mkdir -p "$logdir" | ||
|
||
# Redirect stdout and stderr to a subprocess running tee. | ||
# We trap SIGINT such that SIGINT interrupts the main process being | ||
# run, not the logging. | ||
( exec 2>&1; eval "$cmd" ) | ( trap '' SIGINT; tee -a "$logfile" ) | ||
|
||
pipestatus=(${PIPESTATUS[*]}) | ||
|
||
if [ ${pipestatus[1]} -ne 0 ]; then | ||
exit ${pipestatus[1]} | ||
else | ||
exit ${pipestatus[0]} | ||
fi |
Oops, something went wrong.