summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/examples/unwrap
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1998-01-30 15:31:48 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1998-01-30 15:31:48 +0000
commitb3392337479de5040ec63c278e9d7c3f92f2ffce (patch)
treebdef9bb4a02963fb2d8ea4e090640b1f82d62c41 /gnu/usr.bin/cvs/examples/unwrap
parent7b9d41140503f7f79f2cd1d54160042f56f92551 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cvs/examples/unwrap')
-rw-r--r--gnu/usr.bin/cvs/examples/unwrap21
1 files changed, 0 insertions, 21 deletions
diff --git a/gnu/usr.bin/cvs/examples/unwrap b/gnu/usr.bin/cvs/examples/unwrap
deleted file mode 100644
index def05610f5513..0000000000000
--- a/gnu/usr.bin/cvs/examples/unwrap
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh
-#
-# unwrap - extract the combined package (created with wrap)
-#
-#ident "@(#)cvs/examples:$Name: $:$Id: unwrap,v 1.1 1995/11/14 23:20:30 woods Exp $"
-
-# move the file to a new name with an extension
-rm -rf $1.cvswrap
-mv $1 $1.cvswrap
-
-# untar the file
-
-if `gzip -t $1.cvswrap > /dev/null 2>&1`
-then
- gzcat -d $1.cvswrap | gnutar --preserve --sparse -x -f -
-else
- gnutar --preserve --sparse -x -f $1.cvswrap
-fi
-
-# remove the original
-rm -rf $1.cvswrap