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
1c70724e
Commit
1c70724e
authored
Jun 24, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: readlink before copy license file
Instead of a license file there may be a symlink.
parent
1717eaec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
50-docs-license
features.in/docs/scripts.d/50-docs-license
+2
-2
No files found.
features.in/docs/scripts.d/50-docs-license
View file @
1c70724e
#!/bin/sh
#!/bin/sh
-efu
# copy distro's licenses into image's rootdir
cd
/usr/share/alt-notes
||
exit
0
find
-maxdepth
1
-type
f
-name
"license*.html"
-print
|
while
read
FILE
;
do
cp
-av
"
$FILE
"
$WORKDIR
/
cp
-av
$(
readlink
-e
"
$FILE
"
)
$WORKDIR
/
done
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