Skip to content
Snippets Groups Projects
Commit 84a3bd2a authored by John Kenneth Anders's avatar John Kenneth Anders
Browse files

Merge branch '21.0-mc16d' into '21.0-mc16d'

printing timestamp with the full list of arguments in a safe way (ATLINFR-2731)

See merge request atlas/athena!20587
parents dff34b54 3d4b236a
Branches svn/tags/GAUDI_v19r3@6013
No related tags found
No related merge requests found
......@@ -3,8 +3,7 @@
# Script for building the release on top of externals built using one of the
# scripts in this directory.
#
_time_() { local c="$*" ; ( time -p $c ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
_time_() { local c="time -p " ; while test "X$1" != "X" ; do c+=" \"$1\"" ; shift; done; ( eval "$c" ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
# Function printing the usage information for the script
usage() {
......
......@@ -3,8 +3,7 @@
# Script for building the release on top of externals built using one of the
# scripts in this directory.
#
_time_() { local c="$*" ; ( time -p $c ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
_time_() { local c="time -p " ; while test "X$1" != "X" ; do c+=" \"$1\"" ; shift; done; ( eval "$c" ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
# Function printing the usage information for the script
usage() {
......
......@@ -3,8 +3,7 @@
# Script for building the release on top of externals built using one of the
# scripts in this directory.
#
_time_() { local c="$*" ; ( time -p $c ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
_time_() { local c="time -p " ; while test "X$1" != "X" ; do c+=" \"$1\"" ; shift; done; ( eval "$c" ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
# Function printing the usage information for the script
usage() {
......
......@@ -3,8 +3,7 @@
# Script for building the release on top of externals built using one of the
# scripts in this directory.
#
_time_() { local c="$*" ; ( time -p $c ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
_time_() { local c="time -p " ; while test "X$1" != "X" ; do c+=" \"$1\"" ; shift; done; ( eval "$c" ) 2>&1 | sed "s,^real[[:space:]],time::${c}:: real ," ; }
# Function printing the usage information for the script
usage() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment