mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
release-scripts: Reformat shell scripts
shfmt -f release-scripts/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f025cc1a12
commit
55cd39b92c
@ -1,24 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
_exit() {
|
||||
_exit()
|
||||
{
|
||||
echo $@
|
||||
popd
|
||||
exit 1
|
||||
}
|
||||
|
||||
DOCSRCDIR=`dirname $0`/../docs-xml
|
||||
DOCSRCDIR=$(dirname $0)/../docs-xml
|
||||
|
||||
pushd $DOCSRCDIR || exit 1
|
||||
|
||||
git clean -d -x -f
|
||||
export XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
|
||||
autoconf && \
|
||||
./configure --with-papersize=letter && \
|
||||
make smbdotconf/parameters.all.xml && \
|
||||
autoconf &&
|
||||
./configure --with-papersize=letter &&
|
||||
make smbdotconf/parameters.all.xml &&
|
||||
make release
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
_exit "Docs build failed!"
|
||||
_exit "Docs build failed!"
|
||||
fi
|
||||
|
||||
mkdir -p ../docs
|
||||
|
@ -16,7 +16,8 @@
|
||||
# this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
_exit() {
|
||||
_exit()
|
||||
{
|
||||
echo $@
|
||||
popd
|
||||
exit 1
|
||||
|
@ -16,7 +16,8 @@
|
||||
# this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
_exit() {
|
||||
_exit()
|
||||
{
|
||||
echo $@
|
||||
popd
|
||||
exit 1
|
||||
|
@ -16,7 +16,8 @@
|
||||
# this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
_exit() {
|
||||
_exit()
|
||||
{
|
||||
echo $@
|
||||
popd
|
||||
exit 1
|
||||
|
@ -16,7 +16,8 @@
|
||||
# this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
_exit() {
|
||||
_exit()
|
||||
{
|
||||
echo $@
|
||||
popd
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user