3.0.23rc2 and symlink mount.smbfs
Thomas Bork
tombork at web.de
Sat Jun 10 11:27:10 GMT 2006
Thomas Bork wrote:
> 3.0.23rc2 creates the symlink mount.smbfs for /usr/bin/smbmount in /:
${SBINDIR} is not known in installbin.sh:
INSTALLPERMS=$1
DESTDIR=$2
prefix=`echo $3 | sed 's/\/\//\//g'`
BINDIR=`echo $4 | sed 's/\/\//\//g'`
shift
shift
shift
shift
[...]
# this is a special case, mount needs this in a specific location
if [ $p2 = smbmount ]; then
if [ ! -d $DESTDIR/${SBINDIR} ]; then
mkdir $DESTDIR/${SBINDIR}
fi
echo "Creating sym link $DESTDIR/${SBINDIR}/mount.smbfs to $BINDIR/$p2 "
ln -sf $BINDIR/$p2 $DESTDIR/${SBINDIR}/mount.smbfs
fi
done
der tom
More information about the samba-technical
mailing list