File: copy_docfiles.sh

package info (click to toggle)
netpanzer 0.8.7%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 34,336 kB
  • ctags: 6,849
  • sloc: cpp: 45,217; sh: 278; objc: 259; python: 102; perl: 30; xml: 30; makefile: 15
file content (14 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash

if [ -z "$1" ]; then
	echo "Error: missing destination, use: $0 <destination/dir>"
	exit 1
fi

DESTDIR="$1"

[ ! -d "${DESTDIR}" ] && mkdir -p "${DESTDIR}"

echo -n "Copying files"
cp BUGS ChangeLog COPYING LICENSE-physfs.txt README README-zlib123.txt RELNOTES TODO "${DESTDIR}"
echo "."