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
c86141fc
Commit
c86141fc
authored
Oct 03, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image.in/Makefile: fix show image size
he number of spaces may vary, so the column may be the sixth rather than the fifth. As a result, we get an empty value and an error.
parent
d5343269
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Makefile
image.in/Makefile
+1
-1
No files found.
image.in/Makefile
View file @
c86141fc
...
@@ -90,7 +90,7 @@ imagedir:
...
@@ -90,7 +90,7 @@ imagedir:
@
mkdir
-p
"
$(IMAGE_OUTDIR)
"
@
mkdir
-p
"
$(IMAGE_OUTDIR)
"
postprocess
:
| $(addprefix postprocess-
,
$(sort $(POSTPROCESS_TARGETS)))
postprocess
:
| $(addprefix postprocess-
,
$(sort $(POSTPROCESS_TARGETS)))
@
OUTSIZE
=
"
`
ls
-
lh
"
$(IMAGE_OUTPATH)
"
|
cut
-f5
-d
' '
`
"
;
\
@
OUTSIZE
=
"
`
ls
-
hs
"
$(IMAGE_OUTPATH)
"
|
cut
-f1
-d
' '
`
"
;
\
if
[
!
-n
"
$$
OUTSIZE"
]
;
then
\
if
[
!
-n
"
$$
OUTSIZE"
]
;
then
\
echo
"** error:
$(IMAGE_OUTPATH)
missing"
>
&2
;
\
echo
"** error:
$(IMAGE_OUTPATH)
missing"
>
&2
;
\
exit
1
;
\
exit
1
;
\
...
...
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