source: openpam/trunk/dist.sh @ 64

Last change on this file since 64 was 47, checked in by Dag-Erling Smørgrav, 17 years ago

Packaging script.

Sponsored by: DARPA, NAI Labs

File size: 324 bytes
Line 
1#!/bin/sh
2
3set -e
4
5release=$(date '+%Y%m%d')
6distname="openpam-${release}"
7
8install -d -m 0755 "${distname}"
9cat MANIFEST | while read file; do
10    install -d -m 0755 "${distname}/$(dirname ${file})"
11    install -c -m 0644 "${file}" "${distname}/${file}"
12done
13tar zcf "${distname}.tar.gz" "${distname}"
14rm -rf "${distname}"
Note: See TracBrowser for help on using the repository browser.