Rafael Calleja
commited on
Commit
·
e4a5291
1
Parent(s):
fe04a00
create generator
Browse files- scripts/.build.sh.swo +0 -0
- scripts/build.sh +8 -8
scripts/.build.sh.swo
ADDED
Binary file (12.3 kB). View file
|
|
scripts/build.sh
CHANGED
@@ -8,19 +8,19 @@ generate_structure() {
|
|
8 |
local flavor=$(basename "$dir_path")
|
9 |
|
10 |
# Defining the structure
|
11 |
-
echo "${base_name}-${version}-${flavor}-custom:"
|
12 |
-
echo "
|
13 |
-
echo "
|
14 |
|
15 |
# Listing files in the directory
|
16 |
for file in "$dir_path"/*; do
|
17 |
-
echo "
|
18 |
done
|
19 |
|
20 |
-
echo "
|
21 |
-
echo "
|
22 |
-
echo "
|
23 |
-
echo "
|
24 |
echo ""
|
25 |
}
|
26 |
|
|
|
8 |
local flavor=$(basename "$dir_path")
|
9 |
|
10 |
# Defining the structure
|
11 |
+
echo " ${base_name}-${version}-${flavor}-custom:"
|
12 |
+
echo " path: /${dir_path#./}"
|
13 |
+
echo " files:"
|
14 |
|
15 |
# Listing files in the directory
|
16 |
for file in "$dir_path"/*; do
|
17 |
+
echo " - $(basename "$file")"
|
18 |
done
|
19 |
|
20 |
+
echo " os: ${base_name}-custom"
|
21 |
+
echo " version: '$version'"
|
22 |
+
echo " flavor: $flavor"
|
23 |
+
echo " kernel: ${base_name}-${version}-${flavor}-custom"
|
24 |
echo ""
|
25 |
}
|
26 |
|