summaryrefslogtreecommitdiff
path: root/meson/evas_loader_conf.sh
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-10 15:02:47 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-10 15:02:47 +0100
commit8b05f1eaf6206f01f4d9d7bf0503201c042d85a8 (patch)
tree6788d37573a97b319aa57a1fc54c123b8ccdef71 /meson/evas_loader_conf.sh
parentd9d0a6cc57d72d6e9f97aa4bdb104f5190654c65 (diff)
meson - evas loader confg install script - make it /bin/sh compliant
Diffstat (limited to 'meson/evas_loader_conf.sh')
-rwxr-xr-xmeson/evas_loader_conf.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/meson/evas_loader_conf.sh b/meson/evas_loader_conf.sh
index 79d781548c..cd064410ef 100755
--- a/meson/evas_loader_conf.sh
+++ b/meson/evas_loader_conf.sh
@@ -1,4 +1,4 @@
1#!/bin/sh 1#!/bin/dash
2 2
3original_loader=$1 3original_loader=$1
4filename="$(basename $original_loader)" 4filename="$(basename $original_loader)"
@@ -8,9 +8,8 @@ loader_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 '.')"
10 10
11if [ `echo -n ${original_loader} | tail -c 3` == "$ext" ] 11if test `echo -n ${original_loader} | tail -c 3` = "$ext"; then
12 then 12 mv "$DESTDIR"/"$original_loader" "$DESTDIR"/"$loader_dir"/"$original_name"
13 mv "$DESTDIR"/"$original_loader" "$DESTDIR"/"$loader_dir"/"$original_name"
14fi 13fi
15 14
16shift 15shift