From f92d431c700986da82d561ed2ed7b777cc183562 Mon Sep 17 00:00:00 2001 From: Marco Zanon Date: Sat, 8 Sep 2012 16:29:13 +0000 Subject: [PATCH] Made some language cleanup. --- build.sh | 6 +++--- config.sample => configuration.sample | 6 +++--- skeleton | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename config.sample => configuration.sample (81%) diff --git a/build.sh b/build.sh index c81b0d9..75ffeef 100755 --- a/build.sh +++ b/build.sh @@ -4,9 +4,9 @@ ## Copyright (c) 2012 Marco Zanon . ## Released under GPLv2 license (see LICENSE for details). -S1=`awk '/^__CONFIGURATION_DIRECTIVES__/ { print NR - 1; exit 0; }' skeleton` -C=`awk '/^__CONFIGURATION_DIRECTIVES_BELOW__/ { print NR + 1; exit 0; }' config` -S2=`awk '/^__CONFIGURATION_DIRECTIVES__/ { print NR + 1; exit 0; }' skeleton` +S1=`awk '/^__CONFIGURATION_PARAMETERS__/ { print NR - 1; exit 0; }' skeleton` +C=`awk '/^__CONFIGURATION_PARAMETERS_BELOW__/ { print NR + 1; exit 0; }' config` +S2=`awk '/^__CONFIGURATION_PARAMETERS__/ { print NR + 1; exit 0; }' skeleton` head -n $S1 skeleton > single_click_remote_help.sh tail -n+$C config.sample >> single_click_remote_help.sh tail -n+$S2 skeleton >> single_click_remote_help.sh diff --git a/config.sample b/configuration.sample similarity index 81% rename from config.sample rename to configuration.sample index 3d09100..bfafbf5 100644 --- a/config.sample +++ b/configuration.sample @@ -1,12 +1,12 @@ #!/bin/bash -## single_click_remote_help configuration directives +## single_click_remote_help configuration parameters ## Copyright (c) 2012 Marco Zanon . ## Released under GPLv2 license (see LICENSE for details). ## -## Configuration directives. +## Configuration parameters. -__CONFIGURATION_DIRECTIVES_BELOW__ +__CONFIGURATION_PARAMETERS_BELOW__ INPUT_BOX_TITLE="__YOUR_TEXT_HERE__" INPUT_BOX_MESSAGE="__YOUR_TEXT_HERE__" LABEL_COLUMN_TITLE="__YOUR_TEXT_HERE__" diff --git a/skeleton b/skeleton index cbaf1be..ba65747 100644 --- a/skeleton +++ b/skeleton @@ -21,7 +21,7 @@ ## 1. Define constants. SINGLE_CLICK_REMOTE_HELP_VERSION="0.x" VNC_SERVER="x11vnc-0.9.13_amd64-Linux" -__CONFIGURATION_DIRECTIVES__ +__CONFIGURATION_PARAMETERS__ ## 2. Evaluate command line arguments. if [ -n "$1" ]; then -- 2.30.2