summaryrefslogtreecommitdiff
path: root/meson
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-14 16:23:49 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-14 16:25:24 +0000
commitbd81e38434660314249036170f84e3fc7a6904ea (patch)
tree84be894236e1b3e8563fa340fe753898bb48945b /meson
parent01633207cabcafdaf078e7264c70c2c49f04be7a (diff)
meson- evas generic loader symlinks - fix to point to right place
symlinks for loaders and their extensions first pointers to an abs pathname that was bad for destdirs with packaging and they also linked to the wrong file - they had an extra . at the end due to link script not using basename right. this fixes both of these to now point relative (locally) and remove the . t the end so they work again.
Diffstat (limited to 'meson')
-rwxr-xr-xmeson/evas_loader_conf.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson/evas_loader_conf.sh b/meson/evas_loader_conf.sh
index 5ed40e3a2e..4ff60c351b 100755
--- a/meson/evas_loader_conf.sh
+++ b/meson/evas_loader_conf.sh
@@ -3,7 +3,7 @@
3original_loader=$1 3original_loader=$1
4filename="$(basename $original_loader)" 4filename="$(basename $original_loader)"
5ext="${ext##*.}" 5ext="${ext##*.}"
6original_name="$(basename $original_loader $ext)" 6original_name="$(basename $original_loader .$ext)"
7loader_dir="$(dirname $original_loader)" 7loader_dir="$(dirname $original_loader)"
8loader="$(basename $original_loader)" 8loader="$(basename $original_loader)"
9loader_name="$(echo $original_name | cut -f 1 -d '.')" 9loader_name="$(echo $original_name | cut -f 1 -d '.')"
@@ -14,5 +14,5 @@ if [ ${original_loader: -3} == "$ext" ]
14fi 14fi
15 15
16for x in "${@:2}"; do 16for x in "${@:2}"; do
17 ln -sf "$DESTDIR"/"$loader_dir"/"$original_name" "$DESTDIR"/"$loader_dir"/"$loader_name"."$x" 17 ln -sf "$original_name" "$DESTDIR"/"$loader_dir"/"$loader_name"."$x"
18done \ No newline at end of file 18done