summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-05-03 10:40:59 -0400
committerDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-05-03 10:41:44 -0400
commit33c4ccab2d2a8424fa3832ac25d81eb09e75cc33 (patch)
tree636892c7aaead4e7b82163453103727159f917ca
parent7c3ffb64388fa8e5a4841436f014a3a04866dbc6 (diff)
fix get_build_deps() (output to stdout instead of variable)
-rw-r--r--install-packages.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-packages.bash b/install-packages.bash
index 55ec9f5..0402dfa 100644
--- a/install-packages.bash
+++ b/install-packages.bash
@@ -96,9 +96,9 @@ apt_backport()
96get_build_deps() 96get_build_deps()
97{ 97{
98 # credit: Archemar @ https://unix.stackexchange.com/a/648927 98 # credit: Archemar @ https://unix.stackexchange.com/a/648927
99 build_deps=$(dpkg-checkbuilddeps 2>&1 | 99 dpkg-checkbuilddeps 2>&1 |
100 sed -n -e 's/dpkg-checkbuilddeps: error: Unmet build dependencies: //gp' \ 100 sed -n -e 's/dpkg-checkbuilddeps: error: Unmet build dependencies: //gp' \
101 -e 's/([^)]*) //g') 101 -e 's/([^)]*) //g'
102} 102}
103 103
104main "$@" 104main "$@"