Procházet zdrojové kódy

* Fixed bug: submodules were added with abolute path

master
bergmann před 6 roky
rodič
revize
87f3b42bc3
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      tool

+ 3
- 3
tool Zobrazit soubor

@@ -112,7 +112,7 @@ function CreateGroup()
# Add cmake modules
Log " Add git submodule for CMake modules"
if [[ -n "$CMakeModules" ]]; then
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "$dir/cmake/modules" \
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "cmake/modules" \
|| Panic "Git submodule add failed!"
fi
fi
@@ -162,7 +162,7 @@ function CreateLibrary()
# Add cmake modules
Log " Add git submodule for CMake modules"
if [[ -n "$CMakeModules" ]]; then
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "$dir/cmake/modules" \
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "cmake/modules" \
|| Panic "Git submodule add failed!"
fi
fi
@@ -207,7 +207,7 @@ function CreateExecutable()
# Add cmake modules
Log " Add git submodule for CMake modules"
if [[ -n "$CMakeModules" ]]; then
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "$dir/cmake/modules" \
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "cmake/modules" \
|| Panic "Git submodule add failed!"
fi
fi


Načítá se…
Zrušit
Uložit