-#!/bin/sh
+#!/bin/bash
#
# Usage copy import-lorikeet.sh and rebase-lorikeet.sh
# into an empty directory maybe call it update-heimdal
build_samba() {
test x"$skip_build" = x"yes" || {
- pushd source4 || return $?
- ./autogen.sh || return $?
./configure.developer || return $?
- make || return $?
+ make -j || return $?
test x"$skip_test" = x"yes" || {
- make test || return $?
+ TDB_NO_FSYNC=1 make -j test || return $?
}
- popd
}
return 0;
rsync -a source4/heimdal-new/ source4/heimdal || bailout $?
echo "restore autogenerated files (run lexyacc.sh)"
(
- cd source4
+ pushd source4
heimdal_build/lexyacc.sh
git add heimdal/lib/asn1/asn1parse.c heimdal/lib/asn1/asn1parse.h
+ popd
)
# echo "PS1=\"'import-heimdal shell'>\"" > ../.bashrc.samba_create
# bash --rcfile ../.bashrc.samba_create