Wrong defaults

master
Brady McDonough 10 months ago
parent 6eb5fd0cdf
commit 3e669563fb

@ -1,4 +1,4 @@
server_name=yacswa.home server_name=yacswa.home
public_dir=/srv/yacswa.home public_dir=/srv/yacswa.home/
nginx_dir=/etc/nginx nginx_dir=/etc/nginx/
nginx_config=yacswa.home.conf nginx_config=yacswa.home.conf

@ -1,7 +1,7 @@
# -*- Autoconf -*- # -*- Autoconf -*-
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.72]) AC_PREREQ([2.69])
AC_INIT([Yet Another Covid Statistics Web App], [1.0], [me@bradymcd.ca]) AC_INIT([Yet Another Covid Statistics Web App], [1.0], [me@bradymcd.ca])
# Pull in environment variables # Pull in environment variables
@ -11,8 +11,8 @@ AC_ARG_VAR([nginx_dir], [The nginx config directory containing sites_available a
AC_ARG_VAR([nginx_config], [The name to give the nginx config file in sites_available]) AC_ARG_VAR([nginx_config], [The name to give the nginx config file in sites_available])
# Default values # Default values
test "$server_name" || server_name=yacswa.home test "$server_name" || server_name=yacswa.home
test "$public_dir" || public_dir=/srv/yacswa.home test "$public_dir" || public_dir=/srv/yacswa.home/
test "$nginx_dir" || nginx_dir=/etc/nginx test "$nginx_dir" || nginx_dir=/etc/nginx/
test "$nginx_config" || nginx_config=yacswa.home.conf test "$nginx_config" || nginx_config=yacswa.home.conf
# Checks for programs. # Checks for programs.

Loading…
Cancel
Save