repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Indentation fix, cleanup.
[AROS.git]
/
arch
/
i386-pc
/
boot
/
floppy
/
copypath
blob
eda530105e8e3c5fe92432356669d1b0c0354122
1
# $1 = src (file or path), $2 = dst
2
3
if [ -d $1 ]; then
4
mkdir -p $2/$1
5
cp -R $1/* $2/$1
6
else
7
mkdir -p $2/$(dirname $1)
8
cp $1 $2/$(dirname $1)/
9
fi