mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 04:50:15 +02:00
Shorten installation by including some installation steps into a shell script
This commit is contained in:
committed by
Martin Lablans
parent
865870ea91
commit
b175c55f5c
4
lib/log.sh
Executable file → Normal file
4
lib/log.sh
Executable file → Normal file
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
log() {
|
||||
echo -e "$(date +'%Y-%m-%d %T')" "$1:" "$2"
|
||||
SEVERITY="$1"
|
||||
shift
|
||||
echo -e "$(date +'%Y-%m-%d %T')" "$SEVERITY:" "$@"
|
||||
}
|
||||
|
Reference in New Issue
Block a user