1 2 3 4 5 6 7 8 9 10 11
#!/bin/ksh if [ ! -d "$1" ]; then echo "\"$1\" should be source repository root directory" exit 1 fi for f in LICENSE */* do cp $1/$f $f done