We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 930c252 commit ce83c7fCopy full SHA for ce83c7f
build.sh
@@ -72,8 +72,13 @@ echo "Saving image" >&2
72
${LISP_CMD} --load bootstrap/build1.lisp
73
74
chmod +x "$tmpfile"
75
-test -n "$("$tmpfile" version)"
+# Check the temp executable built correctly.
76
+if test -z "${KILN_NO_PRINT_VERSION:-}"; then
77
+ test -n "$("$tmpfile" version)"
78
+fi
79
+# Rename the temp executable to the output executable.
80
mv -f "$tmpfile" "$real_target_file"
81
+# Print the version.
82
if test -z "${KILN_NO_PRINT_VERSION:-}"; then
83
# real_target_file may be a relative path.
84
PATH=$(pwd):$PATH "${real_target_file}" version
0 commit comments