Page MenuHomeFreeBSD

D26036.diff
No OneTemporary

D26036.diff

Index: head/stand/common/newvers.sh
===================================================================
--- head/stand/common/newvers.sh
+++ head/stand/common/newvers.sh
@@ -55,6 +55,8 @@
bootprog_info="$bootprog_info(${t} ${u}@${h})\\n"
fi
-echo "char bootprog_info[] = \"$bootprog_info\";" > $tempfile
-echo "unsigned bootprog_rev = ${r%%.*}${r##*.};" >> $tempfile
+cat > $tempfile <<EOF
+char bootprog_info[] = "$bootprog_info";
+unsigned bootprog_rev = ${r%%.*}${r##*.};
+EOF
mv $tempfile vers.c

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 24, 5:51 PM (11 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37194502
Default Alt Text
D26036.diff (506 B)

Event Timeline