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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Anton Palgunov
mkimage-profiles
Commits
68f1185a
Commit
68f1185a
authored
Apr 11, 2022
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pkg.in/lists/Makefile: sort lists before copying
In order to hide warning: cp: warning: source file 'file' specified more than once
parent
9b999087
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Makefile
pkg.in/lists/Makefile
+5
-5
No files found.
pkg.in/lists/Makefile
View file @
68f1185a
...
@@ -22,11 +22,11 @@ TARGET := $(BUILDDIR)/$(SUFFIX)
...
@@ -22,11 +22,11 @@ TARGET := $(BUILDDIR)/$(SUFFIX)
all
:
| $(TARGET) $(GLOBAL_DEBUG) copy-lists copy-groups save_packages_to_lists grep-metadep grep-archdep check-lists
all
:
| $(TARGET) $(GLOBAL_DEBUG) copy-lists copy-groups save_packages_to_lists grep-metadep grep-archdep check-lists
@
mp-commit
"
$(TARGET)
"
"requested
$(SUFFIX)
copied over"
@
mp-commit
"
$(TARGET)
"
"requested
$(SUFFIX)
copied over"
# env |
sort -u | grep _LISTS
| xargs -r cp -t
# env |
grep _LISTS | sort -u
| xargs -r cp -t
copy-lists
:
copy-lists
:
@
echo
$
(
foreach V,
\
@
echo
$
(
sort
$
(
foreach V,
\
$
(
filter %_LISTS,
$
(
sort
$
(
.VARIABLES
)
))
,
\
$
(
filter %_LISTS,
$
(
.VARIABLES
))
,
\
$
(
if
$
(
filter environment% file,
$
(
origin
$V
))
,
$
(
$V
)))
\
$
(
if
$
(
filter environment% file,
$
(
origin
$V
))
,
$
(
$V
)))
)
\
|xargs
-r
--
cp
--parents
-at
$(TARGET)
--
;
\
|xargs
-r
--
cp
--parents
-at
$(TARGET)
--
;
\
find
$(TARGET)
-name
'README'
-delete
-o
-name
'Makefile'
-delete
find
$(TARGET)
-name
'README'
-delete
-o
-name
'Makefile'
-delete
...
@@ -45,7 +45,7 @@ check-lists:
...
@@ -45,7 +45,7 @@ check-lists:
copy-groups
:
PKGDIR = ..
copy-groups
:
PKGDIR = ..
copy-groups
:
copy-groups
:
@
echo
$
(
call groups2lists
)
\
@
echo
$
(
sort
$
(
call groups2lists
)
)
\
| xargs
-r
--
cp
--parents
-at
$(TARGET)
--
| xargs
-r
--
cp
--parents
-at
$(TARGET)
--
grep-archdep
:
grep-archdep
:
...
...
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