предпросмотр и скрипт для сборки бинарей
This commit is contained in:
16
build.sh
Executable file
16
build.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
echo "Building Trashbox CGI scripts..."
|
||||
|
||||
echo "Building index.cgi..."
|
||||
gcc -Wall -O2 -o index.cgi index.c -DBASE_WWW_PATH='"/home/romkazvo/www"' -DTEMPLATE_PATH='"/home/romkazvo/www/cgi-bin/template.html"'
|
||||
|
||||
echo "Building style.cgi..."
|
||||
gcc -Wall -O2 -o style.cgi style.c -DCSS_PATH='"/home/romkazvo/www/cgi-bin/style.css"'
|
||||
|
||||
echo "Building status.cgi..."
|
||||
gcc -Wall -O2 -o status.cgi status.c
|
||||
|
||||
echo "Setting permissions..."
|
||||
chmod +x *.cgi
|
||||
|
||||
echo "Build complete"
|
||||
Reference in New Issue
Block a user