Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (7 sloc) 227 Bytes
#!/bin/bash
# INTERNAL script for use by find-copy-to-dir
NAME=$1
DESTINATION=$2
DESTINATION_NAME=`echo $NAME | sed s,\\\./,,g | sed s,/,-,g`
echo "Copying $NAME to $DESTINATION_NAME"
cp $NAME $DESTINATION/$DESTINATION_NAME