summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-11-11 17:24:29 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-11-11 17:24:29 -0500
commit5536eca55c98b0cdb97e8575dcf4ac0d068cdd51 (patch)
tree93827a97668392965cce457732d5166f4fd9a654
parent9d4241c6b0122b354f0d1ae643ed7912347db942 (diff)
downloadminitramfs-5536eca55c98b0cdb97e8575dcf4ac0d068cdd51.tar.xz
minitramfs-5536eca55c98b0cdb97e8575dcf4ac0d068cdd51.zip
fix dir generation
-rwxr-xr-xmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/make b/make
index 461043f..6aadbe8 100755
--- a/make
+++ b/make
@@ -38,7 +38,7 @@ gen_dir_ents() {
# filter the list and generate the make dependency file
gen_depfile() {
deps='cpio_list.txt make'
- awk -v d=/dev/fd/3 '$1 == "file" {print; deps=deps " " $3; print $3 ":" > d; } END { print "initramfs.img:" deps > d }'
+ awk -v d=/dev/fd/3 '{print} $1 == "file" { deps=deps " " $3; print $3 ":" > d } END { print "initramfs.img:" deps > d }'
}
if ! [ -e cpio_list.txt ] || ! [ -e gen_init_cpio ]; then