summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-11-04 21:22:38 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:29 +0200
commit4af7544f20aab4bc7e6ee0a40b319139356d6963 (patch)
tree9f8cb961b92d1b889ac0fc88d56a48f402843519 /windows
parente948a2f25c18707f382a3936c6d8fc73818a0234 (diff)
downloadexternal_gettext-4af7544f20aab4bc7e6ee0a40b319139356d6963.zip
external_gettext-4af7544f20aab4bc7e6ee0a40b319139356d6963.tar.gz
external_gettext-4af7544f20aab4bc7e6ee0a40b319139356d6963.tar.bz2
Make the sed expressions work also with older versions of GNU sed.
Diffstat (limited to 'windows')
-rwxr-xr-xwindows/windres-options6
1 files changed, 3 insertions, 3 deletions
diff --git a/windows/windres-options b/windows/windres-options
index ed55fb8..aa95602 100755
--- a/windows/windres-options
+++ b/windows/windres-options
@@ -18,7 +18,7 @@ sed_extract_major='/^[0-9]/{
s/^\([0-9]*\).*/\1/p
q
}
-a\
+c\
0
q
'
@@ -26,7 +26,7 @@ sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{
s/^[0-9]*[.]\([0-9]*\).*/\1/p
q
}
-a\
+c\
0
q
'
@@ -34,7 +34,7 @@ sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{
s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p
q
}
-a\
+c\
0
q
'