diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1020,7 +1020,7 @@ find_scanelf_paths() { local datadir="$1" local paths="$datadir/lib:$datadir/usr/lib" i= rpaths= if [ -n "$ldpath" ]; then - paths="$paths:$(echo "$ldpath" | sed "s|\(^\|:\)|\1$datadir|g")" + paths="$paths:$(echo "${datadir}${ldpath}" | sed "s|:|:$datadir|g")" fi # search in all rpaths for rpaths in "$pkgbasedir"/.control.*/.rpaths; do |