From d947f564e9f8f03912ba47f84e01e535696735d0 Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 6 May 2020 13:38:07 +0100 Subject: [PATCH] add simple script to create config file --- create-config.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 create-config.sh diff --git a/create-config.sh b/create-config.sh new file mode 100755 index 0000000..3c2150d --- /dev/null +++ b/create-config.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -z "$1" ] ; then + echo "Error - must supply filename" + exit 1 +fi + +cp /home/ray/Projects/wordpress-dev/config-example "$1" + +