Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167679683
D26036.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D26036.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D26036: Fix stand/newvers.sh with zsh in sh mode
Attached
Detach File
Event Timeline
Log In to Comment