Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
0ecfb357
Commit
0ecfb357
authored
May 22, 2018
by
Ivan Zakharyaschev
Committed by
Michael Shigorin
May 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
profile.mk: safer find/grep
Don't go crazy if Dir::Etc::sourceparts/d gives something strange (e.g., /).
parent
26cf3225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
profile.mk
lib/profile.mk
+2
-2
No files found.
lib/profile.mk
View file @
0ecfb357
...
...
@@ -53,8 +53,8 @@ profile/init: distclean
eval `apt-config shell $${APTCONF:+-c=$$APTCONF} \
SOURCELIST Dir::Etc::sourcelist/f \
SOURCEPARTS Dir::Etc::sourceparts/d`; \
find "$$SOURCEPARTS" -name '*.list' \
| xargs egrep -
Rhv '^#|^[[:blank:]]*$$'
"$$SOURCELIST" \
find
-mindepth 1 -maxdepth 1
"$$SOURCEPARTS" -name '*.list' \
| xargs egrep -
hv -e '^#|^[[:blank:]]*$$' --
"$$SOURCELIST" \
| tee $(BUILDDIR)/sources.list; \
echo; \
} $(LOG); \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment