File: install_data.sh

package info (click to toggle)
terminus 3.6.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,156 kB
  • sloc: xml: 278; javascript: 236; sh: 22; makefile: 21
file content (9 lines) | stat: -rwxr-xr-x 142 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/bash

shopt -s extglob
mkdir -p $DESTDIR/$1
if [ -d "$2" ]; then
	cp -a $2/!(CMakeLists.txt) $DESTDIR/$1
else
	cp -a $2 $DESTDIR/$1
fi