projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a63288
)
make expr params POSIX compatible
author
Hans Ulrich Niedermann
<hun@n-dimensional.de>
Fri, 22 Apr 2005 00:56:15 +0000
(
02:56
+0200)
committer
Hans Ulrich Niedermann
<hun@n-dimensional.de>
Fri, 22 Apr 2005 00:56:15 +0000
(
02:56
+0200)
m4m/gp-config-msg.m4
patch
|
blob
|
history
diff --git
a/m4m/gp-config-msg.m4
b/m4m/gp-config-msg.m4
index
9af996f
..
cc19351
100644
(file)
--- a/
m4m/gp-config-msg.m4
+++ b/
m4m/gp-config-msg.m4
@@
-39,7
+39,7
@@
gp_config_len3="$(expr "$gp_config_len" - 3)"
n="$gp_config_len"
while test "$n" -gt 0; do
gp_config_empty="${gp_config_empty} "
- n="$(expr
$n
- 1)"
+ n="$(expr
"$n"
- 1)"
done
gp_config_msg="
Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
@@
-57,7
+57,7
@@
gp_config_msg="${gp_config_msg}
[$1]
"
],[
-gp_config_msg_len="$(expr
length "[$1]"
)"
+gp_config_msg_len="$(expr
"[$1]" : '.*'
)"
if test "$gp_config_msg_len" -ge "$gp_config_len"; then
gp_config_msg_lhs="$(expr "[$1]" : "\(.\{0,${gp_config_len3}\}\)")..:"
else