diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-02-01 15:18:46 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-02-01 15:18:46 +0100 |
commit | 2dd203317d792587dabea6ca0364918308c08d5b (patch) | |
tree | 2ba7947a0b87d699f0cdbb6c36d9d90452378c44 | |
parent | 1d21bb96c9705210d39cacaa037bab14bb70e208 (diff) | |
download | builder-2dd203317d792587dabea6ca0364918308c08d5b.tar.xz |
some more shellcheck in local-build-package
-rw-r--r-- | README.md | 3 | ||||
-rwxr-xr-x | bin/local-build-package | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -114,3 +114,6 @@ Ping the build master to show the slave is still compiling. ## working directory In the standard configuration, the directory `work` will be used to cache some volatile data, as well as the git repositories of PKGBUILDs and modifications (in `repos/packages`, `repos/community`, `repos/packages32`). + +## shellcheck +Check the scripts in the `bin` directory with `shellsheck -x <script>` diff --git a/bin/local-build-package b/bin/local-build-package index 9c53c2b..3f13150 100755 --- a/bin/local-build-package +++ b/bin/local-build-package @@ -146,7 +146,7 @@ extract_source_directory "${git_repo}" "${git_revision}" "${mod_git_revision}" " rm -f ./*".pkg.tar.xz" ./*".pkg.tar.xz.sig" -cd "${tmp_dir}" +cd "${tmp_dir}" || exit 1 makepkg_parameters='' if ${nocheck}; then |