X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=buildd%2Ffunctions.sh;fp=buildd%2Ffunctions.sh;h=9aa4cd68767c13695ea9e5c0b1061f648243fd99;hp=60a3b5af743e6e827964e768e544252cc6117e5c;hb=472c3168d1d3a0ce455f685e7ef682aed9546534;hpb=bb0dec8671e281c637c071870ed6ebe03a643f4b diff --git a/buildd/functions.sh b/buildd/functions.sh index 60a3b5a..9aa4cd6 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/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 @@ -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