From d94543c32cef46dc23e5d44f7a11c50aa1e9c964 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Thu, 17 Sep 2009 00:38:40 +0300 Subject: [PATCH] --- yaml --- r: 167421 b: refs/heads/master c: 17c5ca98833dc3d8f8dd4e85487da238c50cd8c9 h: refs/heads/master i: 167419: e128658791ab88b56dcbfb01c375c955ec19738e v: v3 --- [refs] | 2 +- trunk/scripts/mkcompile_h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d6c94160bf49..cb7d43ead8f7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9c3049c02c6142e166c9472237f1f60d86153682 +refs/heads/master: 17c5ca98833dc3d8f8dd4e85487da238c50cd8c9 diff --git a/trunk/scripts/mkcompile_h b/trunk/scripts/mkcompile_h index f060763c0c6a..bce3d0fe6fbd 100755 --- a/trunk/scripts/mkcompile_h +++ b/trunk/scripts/mkcompile_h @@ -1,3 +1,5 @@ +#!/bin/sh + TARGET=$1 ARCH=$2 SMP=$3 @@ -50,7 +52,7 @@ UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP" # Truncate to maximum length UTS_LEN=64 -UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}\).*/\1/" +UTS_TRUNCATE="cut -b -$UTS_LEN" # Generate a temporary compile.h