Lines Matching refs:src
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35 # from usr/src/cmd/perl/contrib to the appropriate build directory, taking
41 printf 'copy_contrib: usage is <src dir> <dst dir> <module> ...\n'
46 typeset -r src=$1
48 [[ $src = $dst || ! ( -d $src && -d $dst ) ]] && usage
58 for dir in $(cd $src && find $modules -type d -name SCCS); do
60 cd $src/$dir
80 for obj in $(cd $src && find $modules -name SCCS -prune -o -print); do
82 if [[ -d $src/$obj ]]; then
92 elif [[ -f $src/$obj ]]; then
94 $src/$obj -nt $dst/$obj ]]; then
97 printf 'cp -p %s/%s %s/%s\n' $src $obj $dst $obj
98 cp -p $src/$obj $dst/$obj
104 printf 'copy_contrib: ERROR: unable to copy %s/%s' $src $obj