Browse Source

split off bmo: Rewrite moving parts

Alois Mahdal 9 years ago
parent
commit
6e84d62826
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      src/bin/saturnin.skel

+ 12
- 12
src/bin/saturnin.skel View File

@@ -12,18 +12,18 @@ ffoo import pretty
12 12
 
13 13
 FFOO_INIGREP_PATH="$(
14 14
     inigrep__mkpath \
15
-        __SATURNIN_CONFIG_USER__/ini.d \
16
-        __SATURNIN_CONFIG_USER__ \
17
-        __SATURNIN_CONFIG_LOCAL__ \
18
-        __SATURNIN_SHARE__/ini.d
15
+        __SATCMD_CONFIG_USER__/ini.d \
16
+        __SATCMD_CONFIG_USER__ \
17
+        __SATCMD_CONFIG_LOCAL__ \
18
+        __SATCMD_SHARE__/ini.d
19 19
 )"
20 20
 
21
-FFOO_PATH="__SATURNIN_FFOO_DIR__"
21
+FFOO_PATH="__SATCMD_FFOO_DIR__"
22 22
 FFOO_PRETTY_USAGE="subcommand"
23
-SATURNIN_CACHE_HOME="__SATURNIN_CACHE_HOME__"
24
-SATURNIN_LIBEXEC="__SATURNIN_LIBEXEC__"
25
-SATURNIN_LIBEXEC_PREFIX="saturnin-"
26
-SATURNIN_VERSION="__VERSION__"
23
+SATCMD_CACHE_HOME="__SATCMD_CACHE_HOME__"
24
+SATURNIN_LIBEXEC="__SATCMD_LIBEXEC__"
25
+SATURNIN_LIBEXEC_PREFIX="satcmd-"
26
+SATCMD_VERSION="__VERSION__"
27 27
 
28 28
 #
29 29
 # =====END BUILT PART=====
@@ -32,7 +32,7 @@ SATURNIN_VERSION="__VERSION__"
32 32
 ffoo import saturnin_meta
33 33
 
34 34
 export FFOO_INIGREP_PATH FFOO_PATH FFOO_PRETTY_USAGE \
35
-       SATURNIN_VERSION SATURNIN_CACHE_HOME
35
+       SATCMD_VERSION SATCMD_CACHE_HOME
36 36
 
37 37
 usage() {
38 38
     mkusage "[-d|-v] command [args...]" \
@@ -41,7 +41,7 @@ usage() {
41 41
 }
42 42
 
43 43
 version_info() {
44
-    echo "$(basename "$0") (Smart and ready desktop helper) $SATURNIN_VERSION"
44
+    echo "$(basename "$0") (Example saturnin-bases command) $SATCMD_VERSION"
45 45
     exit "$FFOO_EXIT_OK"
46 46
 }
47 47
 
@@ -49,7 +49,7 @@ while true; do case $1 in
49 49
     -d|--debug)     export FFOO_DEBUG=true; shift   ;;
50 50
     -v|--verbose)   export FFOO_VERBOSE=true; shift ;;
51 51
     --version)      version_info                    ;;
52
-    --version-semver) echo "$SATURNIN_VERSION"; exit ;;
52
+    --version-semver) echo "$SATCMD_VERSION"; exit ;;
53 53
     -*)             usage;                          ;;
54 54
     --*)            usage;                          ;;
55 55
     --)             shift; break                    ;;