瀏覽代碼

Respect MKIT_INI environment variable

Not everyone wants mkit.ini in the root.
Alois Mahdal 7 年之前
父節點
當前提交
30ad9a5e41
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/newstub

+ 2
- 2
src/newstub 查看文件

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