We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9853cc3 + 0602af4 commit cb7b64cCopy full SHA for cb7b64c
scripts/generate-license-file
@@ -1,13 +1,15 @@
1
#!/bin/bash
2
3
+export LC_ALL=C
4
+
5
# Create or clear the LICENSE file
6
echo "# License Information" > LICENSE
7
echo "" >> LICENSE
8
echo "This file lists all licenses used by recipes in the meta-freescale layer." >> LICENSE
9
10
11
# Find all .bb and .inc files and extract license information
-find . -type f \( -name "*.bb" -o -name "*.inc" \) | while read -r file; do
12
+find . -type f \( -name "*.bb" -o -name "*.inc" \) | sort | while read -r file; do
13
# Extract the license line from each recipe file, if it exists
14
license_line=$(grep -i "^LICENSE" "$file")
15
if [ -n "$license_line" ]; then
0 commit comments