mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 02:19:39 +02:00
Merge branch '43-in-modbuild-we-need-to-source-libpbuild-before-parsing-the-argument' into 'master'
Resolve "in modbuild we need to source libpbuild before parsing the arguments" Closes #43 See merge request Pmodules/src!14
This commit is contained in:
@@ -24,6 +24,9 @@ source libstd.bash || {
|
||||
echo "Oops: library '$_' cannot be loaded!" 1>&2; exit 3;
|
||||
}
|
||||
|
||||
source libpbuild.bash || \
|
||||
std::die 3 "Oops: Cannot source library -- '$_'"
|
||||
|
||||
# save arguments, (still) required for building dependencies
|
||||
declare -r ARGS="$@"
|
||||
|
||||
@@ -376,9 +379,6 @@ else
|
||||
fi
|
||||
source "${build_config}" || \
|
||||
std::die 3 "Oops: Cannot source configuration file -- '${build_config}'"
|
||||
source libpbuild.bash || \
|
||||
std::die 3 "Oops: Cannot source library -- '$_'"
|
||||
|
||||
|
||||
declare -r BUILD_SCRIPT
|
||||
declare -r BUILDBLOCK_DIR
|
||||
|
||||
Reference in New Issue
Block a user