cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-11 02:26:54 +03:00
parent a3fff0cf44
commit eb24b3e8b5

View File

@ -62,10 +62,9 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY)
-e 's/\$${\CLIENT_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(CLIENT_DIR)/$*_id.pub")'/g' \ -e 's/\$${\CLIENT_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(CLIENT_DIR)/$*_id.pub")'/g' \
-e 's/\$${\SERVER_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(SERVER_PUBLIC_KEY)")'/g' \ -e 's/\$${\SERVER_PUBLIC_KEY}/'$$(sed -e 's/\//\\\//g' "$(SERVER_PUBLIC_KEY)")'/g' \
>> "$(SERVER_CONF)" >> "$(SERVER_CONF)"
@if [ -z "$$QRCODE" ] ; then \ @ [ -z "$$QRCODE" ] \
echo "# Profile: $*:" \ || ( echo "# Profile: $*:" \
qrencode -t UTF8 -r "$(CLIENT_DIR)/$*.conf" \ && qrencode -t UTF8 -r "$(CLIENT_DIR)/$*.conf" )
fi
server: $(SERVER_CONF) server: $(SERVER_CONF)