sysklogd: use install instead of mkdir to create directories in $PKG

This commit is contained in:
Juergen Daubert 2015-07-26 19:02:14 +02:00
parent 5501bf217e
commit 8d26cfc0a8

View File

@ -11,10 +11,10 @@ source=(http://www.infodrom.org/projects/$name/download/$name-$version.tar.gz \
build() {
cd $name-$version
mkdir -p $PKG/usr/sbin \
$PKG/etc/{cron/weekly,rc.d} \
$PKG/var/log \
$PKG/usr/share/man/{man5,man8}
install -d $PKG/usr/sbin \
$PKG/etc/{cron/weekly,rc.d} \
$PKG/var/log \
$PKG/usr/share/man/{man5,man8}
make RPM_OPT_FLAGS="$CFLAGS" all
make BINDIR=$PKG/usr/sbin MANDIR=$PKG/usr/share/man install