/[svn]/vendor/ircservices-5.1.24/cp-recursive
ViewVC logotype

Contents of /vendor/ircservices-5.1.24/cp-recursive

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1171 - (show annotations)
Fri Aug 12 20:00:46 2011 UTC (10 years, 3 months ago) by michael
File size: 470 byte(s)
- Import ircservices-5.1.24. Don't ever think about modifying anything in this
  folder!
  Since Andrew Church has discontinued his services project in April 2011, the
  ircd-hybrid team has been given permissions to officially continue and
  maintain the already mentioned project.
  The name of this project will be changed for the reason being that the current
  name "IRC Services" is way too generic these days.

  Remember: Don't ever modify anything in here. This folder is kept for reference.

1 #!/bin/sh
2
3 set -e
4 if [ $1 = "-t" ] ; then
5 shift
6 fi
7 if [ ! "$2" ] ; then
8 echo >&2 "Usage: $0 <sourcedir> <targetdir>"
9 exit 1
10 fi
11 if [ -d "$1" ] ; then
12 dir="$1"
13 else
14 dir=`dirname "$1"`
15 fi
16 while [ "$2" ] ; do
17 shift
18 done
19 dest=`echo "$1" | sed s,/*$,,`
20 if [ -d "$dest" ] ; then
21 dest="$dest/`basename $dir`"
22 fi
23 mkdir -p "$dest"
24 tar Ccf $dir - . | tar Cxf $dest -
25
26 # Local variables:
27 # indent-tabs-mode: nil
28 # End:
29 #
30 # vim: expandtab shiftwidth=4:

Properties

Name Value
svn:executable

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28