From 5536eca55c98b0cdb97e8575dcf4ac0d068cdd51 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 11 Nov 2020 17:24:29 -0500 Subject: fix dir generation --- make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2