meson: don't add / after DESTDIR in install scripts

this breaks windows usage and is unnecessary since the filename begins
with /

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8723
devs/lauromoura/pin-unpin
Mike Blumenkrantz 4 years ago committed by Marcel Hollerbach
parent 253fa7e09f
commit fc831ede97
  1. 4
      meson/evas_loader_conf.sh
  2. 2
      meson/meson_modules.sh

@ -13,10 +13,10 @@ loader_name="$(echo "$loader" | cut -f 1 -d '.')"
original_ext="$(echo "$loader" | tail -c 4)"
if test "$original_ext" = "$ext" ; then
mv "$DESTDIR"/"$original_loader" "$DESTDIR"/"$loader_dir"/"$original_name"
mv "$DESTDIR""$original_loader" "$DESTDIR""$loader_dir"/"$original_name"
fi
shift
for x in "$@"; do
ln -sf "$original_name" "$DESTDIR"/"$loader_dir"/"$loader_name"."$x"
ln -sf "$original_name" "$DESTDIR""$loader_dir"/"$loader_name"."$x"
done

@ -4,5 +4,5 @@ for x in "$@" ; do
dir="$(dirname $x)"
filename="$(basename $x)"
ext="${filename##*.}"
mv "$DESTDIR"/"$x" "$DESTDIR"/"$dir"/module."$ext"
mv "$DESTDIR""$x" "$DESTDIR""$dir"/module."$ext"
done

Loading…
Cancel
Save