mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
7451e73ae2
into its own. The 'installdirs' makefile entry didn't do anything on my laptop,
so it has been replaced with the section from installbin.sh.
This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when
making the directories.
Finally, link pam_winbind with .po objects only, not a mix of .o and .po
(as per Don Mccall's request).
Andrew Bartlett
(This used to be commit c7a883df28
)
21 lines
253 B
Bash
Executable File
21 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BASEDIR=$1
|
|
SBINDIR=$2
|
|
BINDIR=$3
|
|
LIBDIR=$4
|
|
VARDIR=$5
|
|
PRIVATEDIR=$6
|
|
|
|
for d in $BASEDIR $SBINDIR $BINDIR $LIBDIR $VARDIR $PRIVATEDIR; do
|
|
if [ ! -d $d ]; then
|
|
mkdir $d
|
|
if [ ! -d $d ]; then
|
|
echo Failed to make directory $d
|
|
exit 1
|
|
fi
|
|
fi
|
|
done
|
|
|
|
|