python: trim all whitespaces for the operator in the filespec
That would allow for files (in filespecs) to be indented. As it is now, the files need to be added at the begginning of the line. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
591af75d2e
commit
9b94e3cb6e
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ define PyPackage
|
|||
@echo "$$$$$$$$$$(call shvar,PyPackage/$(1)/filespec)" | ( \
|
||||
IFS='|'; \
|
||||
while read fop fspec fperm; do \
|
||||
fop=`echo "$$$$$$$$fop" | tr -d ' \t\n'`; \
|
||||
if [ "$$$$$$$$fop" = "+" ]; then \
|
||||
if [ ! -e "$(PKG_INSTALL_DIR)$$$$$$$$fspec" ]; then \
|
||||
echo "File not found '$(PKG_INSTALL_DIR)$$$$$$$$fspec'"; \
|
||||
|
|
Loading…
Reference in a new issue