Browse Source

Get rid of unnecessary global

Alois Mahdal 8 years ago
parent
commit
dfb3fd3d69
2 changed files with 1 additions and 2 deletions
  1. 0
    1
      src/include/mkit.sh
  2. 1
    1
      src/include/release.sh

+ 0
- 1
src/include/mkit.sh View File

@@ -32,7 +32,6 @@ debug_var() {
32 32
 
33 33
 MKIT_INI=${MKIT_INI:-mkit.ini}
34 34
 MKIT_INI_EXPAND=2
35
-MKIT_PROJ_NAME=$(ini 1value "project:name")
36 35
 MKIT_PROJ_PKGNAME=$(ini 1value "project:pkgname")
37 36
 MKIT_DEFAULT_MODE="644"
38 37
 

+ 1
- 1
src/include/release.sh View File

@@ -112,7 +112,7 @@ __release() {
112 112
     set -e
113 113
     debug_var newtag
114 114
     $MKIT_DRY && return
115
-    git tag -m "$MKIT_PROJ_NAME $newtag - $CODENAME" "$newtag"
115
+    git tag -m "$(ini 1value project:name) $newtag - $CODENAME" "$newtag"
116 116
     git branch -f "$(ini 1value project:reldst)" "$newtag"
117 117
 }
118 118