summaryrefslogtreecommitdiff
path: root/meson/meson_modules.sh
blob: 328cc9948e0d8bce1ca65ac2327af5e859cb0fc1 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

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