projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb0dec8
)
buildd/functions.sh: use dash-compliant subtraction
author
Christian Hofstaedtler
<ch@grml.org>
Tue, 8 Nov 2011 11:50:00 +0000
(12:50 +0100)
committer
Christian Hofstaedtler
<ch@grml.org>
Tue, 8 Nov 2011 12:10:21 +0000
(13:10 +0100)
buildd/functions.sh
patch
|
blob
|
history
diff --git
a/buildd/functions.sh
b/buildd/functions.sh
index
60a3b5a
..
9aa4cd6
100755
(executable)
--- a/
buildd/functions.sh
+++ b/
buildd/functions.sh
@@
-1,4
+1,4
@@
-#!/bin/
ba
sh
+#!/bin/sh
# Filename: /usr/share/grml-live/buildd/functions.sh
# Purpose: main function file for grml-live buildd
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
@@
-72,7
+72,7
@@
grml_live_run() {
>/var/log/grml-buildd.stdout \
2>/var/log/grml-buildd.stderr ; RC=$?
TIME_END=$(date +%s)
- let WALLTIME=$TIME_END-$TIME_START
+ WALLTIME=$(($TIME_END-$TIME_START))
if [ "$RC" = "0" ] ; then
RC_INFO=success