diff options
author | Karel Kočí <cynerd@email.cz> | 2020-07-13 16:40:44 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-07-13 16:40:44 +0200 |
commit | d50319c7cc48abb8465a245d01b69859bbe719d8 (patch) | |
tree | 988b5d92096cf8b1d88bf7e550e36c9afd9d99ee /templates | |
parent | e56414de87c5115bca6646c45ba139da6daaec4a (diff) | |
download | laminar-cnf-d50319c7cc48abb8465a245d01b69859bbe719d8.tar.gz laminar-cnf-d50319c7cc48abb8465a245d01b69859bbe719d8.tar.bz2 laminar-cnf-d50319c7cc48abb8465a245d01b69859bbe719d8.zip |
turris: try to fix package compilation script
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/turris.run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/turris.run b/templates/turris.run index f51f29b..98d489f 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -53,8 +53,8 @@ find feeds/personal -type d -exec test -f '{}/Makefile' \; -prune -printf "%P\0" xargs -0 ./scripts/feeds uninstall # Remove any package provided by personal feed ./scripts/feeds install -p personal -d y -f -a echo_stage "Compile packages from personal feed" -find package/feeds/personal -mindepth 1 -maxdepth 1 -printf '%P\0' | \ - while IFS=$'\0' read -r package; do +find package/feeds/personal -mindepth 1 -maxdepth 1 -printf '%P\n' | \ + while read -r package; do $make "package/$package/compile" || \ echo_error "Package build failed: $package" done |