diff options
Diffstat (limited to 'meson/meson_modules.sh')
-rwxr-xr-x | meson/meson_modules.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/meson_modules.sh b/meson/meson_modules.sh new file mode 100755 index 0000000000..3398e048b5 --- /dev/null +++ b/meson/meson_modules.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +for x in "$@" ; do + dir="$(dirname $x)" + filename="$(basename $x)" + ext="${filename##*.}" + mv "$DESTDIR"/"$x" "$DESTDIR"/"$dir"/module."$ext" +done |