From 472c3168d1d3a0ce455f685e7ef682aed9546534 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Tue, 8 Nov 2011 12:50:00 +0100 Subject: [PATCH] buildd/functions.sh: use dash-compliant subtraction --- buildd/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.1.4