cloney revision 198
61N/A# The contents of this file are subject to the terms of the 61N/A# Common Development and Distribution License (the "License"). 61N/A# You may not use this file except in compliance with the License. 61N/A# See the License for the specific language governing permissions 61N/A# and limitations under the License. 61N/A# When distributing Covered Code, include this CDDL HEADER in each 61N/A# If applicable, add the following below this CDDL HEADER, with the 61N/A# fields enclosed by brackets "[]" replaced with your own identifying 61N/A# information: Portions Copyright [yyyy] [name of copyright owner] 61N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 61N/A# clone a directory to another using symlinks, in a very clunky way 61N/Aif [ $# !=
2 ];
then 61N/A echo "usage $0 srcdir destdir" 198N/A# Copy files and symlinks, making sure we ignore the gnu-patch backup 116N/A ln -s
"${srcdir}/$i" "${destdir}/$i"