git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ray_cs: convert to proc_fops
[safe/jmp/linux-2.6]
/
scripts
/
mkcompile_h
diff --git
a/scripts/mkcompile_h
b/scripts/mkcompile_h
index
f060763
..
bce3d0f
100755
(executable)
--- a/
scripts/mkcompile_h
+++ b/
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