diff --git a/cmd.txt b/cmd.txt index 9548d7c..17afba0 100644 --- a/cmd.txt +++ b/cmd.txt @@ -4,5 +4,7 @@ doas install -o www -g www -m 0500 build/vars /var/www/cgi-bin/ cc -static -g -W -Wall -o build/vars_kcgi vars_kcgi.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz doas install -o www -g www -m 0500 build/vars_kcgi /var/www/cgi-bin/ +doas mkdir /var/www/tmp +doas chmod 1777 /var/www/tmp cc -static -g -W -Wall -o build/example4 examples/example4.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz -lsqlite3 doas install -o www -g www -m 0500 build/example4 /var/www/cgi-bin/