projects
/
fgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2483c8
)
Temp: fix bug with canvas frame get_size
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 5 Oct 2023 22:22:50 +0000
(18:22 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 7 Oct 2023 15:45:53 +0000
(11:45 -0400)
fgen.sh
patch
|
blob
|
history
diff --git
a/fgen.sh
b/fgen.sh
index
4fe0634
..
a0c3800
100755
(executable)
--- a/
fgen.sh
+++ b/
fgen.sh
@@
-36,7
+36,7
@@
function log_dbg() {
# Arg1: layer
function get_size()
{
- cat ${layers} | grep "${1}" | ${SED} "s/.*geometry:\([0-9]\+x[0-9]\+\).*/\1/g"
+ cat ${layers} | grep
-m 1
"${1}" | ${SED} "s/.*geometry:\([0-9]\+x[0-9]\+\).*/\1/g"
}
# Arg1: layer