diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-03 21:46:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-03 21:46:19 +0300 |
commit | 6471091f99c78563e785f8740dcab0dc87825ee4 (patch) | |
tree | 63b81c09e1801021bab089fac592f0ee6b390a35 /scripts/include/common.sh | |
parent | b6c965589911ab9ef671d692612b0df9cf97b1fb (diff) | |
download | spm-6471091f99c78563e785f8740dcab0dc87825ee4.tar.gz spm-6471091f99c78563e785f8740dcab0dc87825ee4.tar.bz2 spm-6471091f99c78563e785f8740dcab0dc87825ee4.tar.xz spm-6471091f99c78563e785f8740dcab0dc87825ee4.zip |
Add support for include command in packages. for include other package definition.
Diffstat (limited to 'scripts/include/common.sh')
-rw-r--r-- | scripts/include/common.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/include/common.sh b/scripts/include/common.sh index 6c2a7e7..e54922b 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -368,3 +368,7 @@ function package_build { run_make run_make_install } + +function include { + source "./$1.sh" +} |