8 lines
106 B
Bash
Executable File
8 lines
106 B
Bash
Executable File
#!/bin/sh
|
|
mkdir -p $DESTDIR/$1
|
|
if [ -d "$2" ]; then
|
|
cp -a $2/* $DESTDIR/$1
|
|
else
|
|
cp -a $2 $DESTDIR/$1
|
|
fi
|