Browse Source

Respect MKIT_INI environment variable

Not everyone wants mkit.ini in the root.
Alois Mahdal 7 years ago
parent
commit
30ad9a5e41
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/newstub

+ 2
- 2
src/newstub View File

62
             fi
62
             fi
63
             ;;
63
             ;;
64
 
64
 
65
-        mkit.ini)
65
+        */mkit.ini|mkit.ini)
66
             echo "[project]"
66
             echo "[project]"
67
             echo "    version     = 0.0.0"
67
             echo "    version     = 0.0.0"
68
             test -n "$Codename"     && echo "    codename    = $Codename"
68
             test -n "$Codename"     && echo "    codename    = $Codename"
573
         Force=true
573
         Force=true
574
     fi
574
     fi
575
     confirm            || return 1
575
     confirm            || return 1
576
-    deploy mkit.ini
576
+    deploy "$MKIT_INI"
577
     deploy src/"$PackageName".skel
577
     deploy src/"$PackageName".skel
578
     $MkMakefile     && deploy Makefile
578
     $MkMakefile     && deploy Makefile
579
     $MkReadme       && deploy README.md
579
     $MkReadme       && deploy README.md