Browse Source

fix pmix new project command

master
Julian Noble 1 year ago
parent
commit
befe2bd0dd
  1. 4
      src/modules/punk/mix-0.2.tm

4
src/modules/punk/mix-0.2.tm

@ -423,8 +423,8 @@ namespace eval punk::mix::cli {
set testdir [pwd]
if {![string length [set projectdir [punk::repo::find_project_root $testdir]]]} {
if {![string length [set projectdir [punk::repo::find_candidate_root $testdir]]]} {
if {![string length [set projectdir [punk::repo::find_project $testdir]]]} {
if {![string length [set projectdir [punk::repo::find_candidate $testdir]]]} {
error "newmodule unable to create module in projectdir:$projectdir - directory doesn't appear to meet basic standards (/src, src/modules, src/lib & /modules must exist, must not be a system path such as /usr/bin or c:/windows)"
}
}

Loading…
Cancel
Save