Include all files listed in the manifest.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@268 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2003-07-14 23:44:14 +00:00
parent 5985e60d5a
commit a131b240b3
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $P4: //depot/projects/openpam/dist.sh#9 $
# $P4: //depot/projects/openpam/dist.sh#10 $
#
set -e
@ -10,11 +10,11 @@ distname="openpam-${release}"
tarball="${distname}.tar.gz"
install -d -m 0755 "${distname}"
grep '^[a-z].*/$' MANIFEST | while read dir; do
grep '^[A-Za-z].*/$' MANIFEST | while read dir; do
echo "Creating ${dir}"
install -d -m 0755 "${distname}/${dir}" || exit 1
done
grep '^[a-z].*[^/]$' MANIFEST | while read file; do
grep '^[A-Za-z].*[^/]$' MANIFEST | while read file; do
echo "Adding ${file}"
install -c -m 0644 "${file}" "${distname}/${file}" || exit 1
done