summaryrefslogtreecommitdiff
path: root/meson/meson_modules.sh
blob: 3398e048b561209a6edb03c8d0555c13d8346a23 (plain)
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