mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
b58deeea69
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
19 lines
269 B
Bash
Executable File
19 lines
269 B
Bash
Executable File
#!/bin/sh
|
|
|
|
INSTALLPERMS=$1
|
|
TORTUREDIR=$2
|
|
shift
|
|
shift
|
|
|
|
for p in $*; do
|
|
p2=`dirname $p`
|
|
base=`basename $p`
|
|
DESTDIR=$TORTUREDIR/`basename $p2`
|
|
mkdir -p $DESTDIR
|
|
echo Installing $p as $DESTDIR/$base
|
|
cp -f $p $DESTDIR/
|
|
chmod $INSTALLPERMS $DESTDIR/$base
|
|
done
|
|
|
|
exit 0
|