diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd7dbf9..d0214c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
-project(fun VERSION 0.37.32 LANGUAGES C)
+project(fun VERSION 0.37.33 LANGUAGES C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
diff --git a/examples/data/htdocs/info.fun b/examples/data/htdocs/info.fun
index 65e64cb..eca1076 100644
--- a/examples/data/htdocs/info.fun
+++ b/examples/data/htdocs/info.fun
@@ -16,7 +16,10 @@ print("
Fun Environment Information
")
print("Current Path: " + env("PATH") + "
")
print("Current User: " + env("USER") + "
")
print("Time: " + date_format(time_now_ms(), "%Y-%m-%d %H:%M:%S") + "
")
-print("Version: " + to_string(fun_version()) + "
")
+print("Local Version: " + to_string(fun_version()) + "
")
+res = proc_run("fun -V")
+installed_version = res["out"]
+print("Installed Version: " + to_string(substr(installed_version, 4, len(installed_version)-2)) + "
")
print("Full Environment:
")
print("")
all_env = env_all()
diff --git a/lib/net/http_server.fun b/lib/net/http_server.fun
index dc78dac..06a8402 100644
--- a/lib/net/http_server.fun
+++ b/lib/net/http_server.fun
@@ -84,7 +84,7 @@ class HTTPServer(number port)
env_vars = "QUERY_STRING='" + query_string + "' "
if (len(post_data) > 0)
env_vars = env_vars + "POST_DATA='" + post_data + "' "
-
+
res = proc_run(env_vars + " " + "fun" + " " + file_path)
content = res["out"]
else
diff --git a/make b/make
index 914b699..a6a0205 100755
--- a/make
+++ b/make
@@ -100,6 +100,8 @@ elif [ "$target" = "freebsd" ]; then
-DFUN_LINK_STATIC=OFF \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun
+elif [ "$target" = "install" ]; then
+ sudo cmake --build build --target install
elif [ "$target" = "minimal" ]; then
rm -rf build \
&& cmake -S . -B build \
@@ -159,6 +161,7 @@ else
echo " - alpine";
echo " - debug";
echo " - freebsd";
+ echo " - install";
echo " - minimal";
echo " - musl";
echo " - repl";