mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 12:15:52 +02:00
Fix logfile generation if filenames contain + or space
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
* bc-1.06
|
||||
* beep-1.2.2
|
||||
* bind-9.3.2
|
||||
* binutils-2.16.1
|
||||
* binutils-2.17
|
||||
* bison-2.2
|
||||
* bluez-libs-3.36
|
||||
* br2684ctl
|
||||
|
||||
@@ -136,12 +136,14 @@ define POSTBUILD
|
||||
echo "error $$LFS_SCRIPT not found in config/rootfiles"; \
|
||||
fi; \
|
||||
sed "s/KVER/$(KVER)/g" $$ROOTFILE > $(TARGET)_rootfile; \
|
||||
IFS=`echo`; \
|
||||
for line in `cat $(TARGET)_diff`; do \
|
||||
if grep -qE "^#$$line$$" $(TARGET)_rootfile; then echo "#$$line" >> $(TARGET); \
|
||||
elif grep -qE "^$$line$$" $(TARGET)_rootfile ; then echo "$$line" >> $(TARGET); \
|
||||
if grep -qG "^#$$line$$" $(TARGET)_rootfile; then echo "#$$line" >> $(TARGET); \
|
||||
elif grep -qG "^$$line$$" $(TARGET)_rootfile ; then echo "$$line" >> $(TARGET); \
|
||||
else echo "+$$line" >> $(TARGET); \
|
||||
fi; \
|
||||
done; \
|
||||
unset IFS; \
|
||||
rm -f $(TARGET)_rootfile; \
|
||||
else \
|
||||
touch $(TARGET); \
|
||||
|
||||
Reference in New Issue
Block a user