pamac-classic/meson_scripts/install_data.sh

10 lines
142 B
Bash
Raw Normal View History

#!/bin/bash
shopt -s extglob
2017-10-16 13:40:34 -03:00
mkdir -p $DESTDIR/$1
if [ -d "$2" ]; then
cp -a $2/!(CMakeLists.txt) $DESTDIR/$1
2017-10-16 13:40:34 -03:00
else
cp -a $2 $DESTDIR/$1
fi