diff --git a/Makefile b/Makefile index 96b942a..1540562 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX ?= /usr SHARE_DIR=$(PREFIX)/share -APP_TIMEZONE=$(shell readlink /etc/localtime | cut -d/ -f5-) +APP_TIMEZONE=$(shell readlink /etc/localtime | awk -F'/' '{print $(NF-1)"/"$(NF)}') MYSQL_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32) MYSQL_ROOT_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32)