From 8720d8835cf033ac0e011969c31eaaea428dfba8 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. --- 0.x/build.sh | 6 +++--- 0.x/{config.sample => configuration.sample} | 6 +++--- 0.x/skeleton | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename 0.x/{config.sample => configuration.sample} (81%) diff --git a/0.x/build.sh b/0.x/build.sh index c81b0d9..75ffeef 100755 --- a/0.x/build.sh +++ b/0.x/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/0.x/config.sample b/0.x/configuration.sample similarity index 81% rename from 0.x/config.sample rename to 0.x/configuration.sample index 3d09100..bfafbf5 100644 --- a/0.x/config.sample +++ b/0.x/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/0.x/skeleton b/0.x/skeleton index cbaf1be..ba65747 100644 --- a/0.x/skeleton +++ b/0.x/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