gnucash-on-windows master: Switch sed for perl in libtool-archive cleanup.
John Ralls
jralls at code.gnucash.org
Thu Nov 13 17:53:32 EST 2014
Updated via https://github.com/Gnucash/gnucash-on-windows/commit/1336053a (commit)
from https://github.com/Gnucash/gnucash-on-windows/commit/cc7e9ac9 (commit)
commit 1336053aae54266c0a99970cfab17313c21bbab6
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Nov 13 14:53:15 2014 -0800
Switch sed for perl in libtool-archive cleanup.
diff --git a/functions.sh b/functions.sh
index 620b40b..d047811 100644
--- a/functions.sh
+++ b/functions.sh
@@ -319,11 +319,11 @@ function fix_lt_file () {
target_dir="$1"/`echo $(dirname "$filename") | sed -e"s;$1/;;"`
global_udir=`unix_path ${GLOBAL_DIR}`
- sed -i'.bak' -E \
- -e"s;-L$orig_dir;-L$target_dir;g" \
- -e"s;([/a-z0-9A-Z:_-]+)/lib([a-zA-Z0-9._-]+)\.la;-L\1 -l\2;g" \
- -e"s;^libdir=.*$;libdir='$target_dir';" \
- -e"s;(/c|c:)/gcdev/;$global_udir/;g" \
+ perl -pi.bak \
+ -e"s{-L$orig_dir}{-L$target_dir}g;" \
+ -e"s{([/a-z0-9A-Z:_-]+)/lib([a-zA-Z0-9._-]+)\.la}{-L\1 -l\2}g;" \
+ -e"s{^libdir=.*$}{libdir='$target_dir'};" \
+ -e"s{(/c|c:)/gcdev/}{$global_udir/}g" \
$filename
}
Summary of changes:
functions.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
More information about the gnucash-changes
mailing list