Commit 1189ff23 authored by mark's avatar mark
Browse files

BUG: pkgconfigPrefix calling the incorrect backend

ENH: avoid editing pkgconfig symlinks
parent 5c09a643
......@@ -76,7 +76,7 @@ do
usage
;;
*)
pkgconfigAdjust "$1"
pkgconfigNewPrefix "$1"
;;
esac
shift
......
......@@ -281,7 +281,7 @@ pkgconfigNewPrefix()
[ -d "$dir/$libdir" ] || continue
for i in $dir/$libdir/*.pc
do
if [ -f "$i" ]
if [ -f "$i" -a ! -L "$i" ]
then
nfiles="x$nfiles"
sed -i -e 's@^\(prefix=\).*$@\1'"$dir@" $i
......@@ -329,7 +329,7 @@ pkgconfigAdjust()
[ -d "$dir/$libdir" ] || continue
for i in $dir/$libdir/*.pc
do
if [ -f "$i" ]
if [ -f "$i" -a ! -L "$i" ]
then
nfiles="x$nfiles"
sed -i \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment