diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-11-11 17:24:29 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-11-11 17:24:29 -0500 |
commit | 5536eca55c98b0cdb97e8575dcf4ac0d068cdd51 (patch) | |
tree | 93827a97668392965cce457732d5166f4fd9a654 /make | |
parent | 9d4241c6b0122b354f0d1ae643ed7912347db942 (diff) | |
download | minitramfs-5536eca55c98b0cdb97e8575dcf4ac0d068cdd51.tar.xz minitramfs-5536eca55c98b0cdb97e8575dcf4ac0d068cdd51.zip |
fix dir generation
Diffstat (limited to 'make')
-rwxr-xr-x | make | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |