summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-22 19:24:59 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-22 19:25:10 +0100
commitf1ec0b24d1c6460b0afc1676fce366832103b514 (patch)
treedc760d5749f84985b740cffd8243845199055b16 /scripts
parent9240faa04aa840539d8f9222e55d2b37c45e6240 (diff)
downloadvyos-build-f1ec0b24d1c6460b0afc1676fce366832103b514.tar.gz
vyos-build-f1ec0b24d1c6460b0afc1676fce366832103b514.zip
list-build-dependencies: add Stackoverflow copy remark
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/list-build-dependencies2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/list-build-dependencies b/scripts/list-build-dependencies
index 9c35360d..e13651f3 100755
--- a/scripts/list-build-dependencies
+++ b/scripts/list-build-dependencies
@@ -17,6 +17,8 @@
# Parse debian/control like content and extract packages required by the
# Build-Depends statement. Return a string with all required packages.
+#
+# Code below copied from https://stackoverflow.com/a/47707412 - Thank You!
get_build_depends () {
echo $(awk '
/^Build-Depends:/ || /^ / && deps {