1
0
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:
Andreas Schneider 2022-02-21 14:00:54 +01:00 committed by Andrew Bartlett
parent f025cc1a12
commit 55cd39b92c
5 changed files with 15 additions and 10 deletions

View File

@ -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

View File

@ -16,7 +16,8 @@
# this program; if not, see <http://www.gnu.org/licenses/>.
#
_exit() {
_exit()
{
echo $@
popd
exit 1

View File

@ -16,7 +16,8 @@
# this program; if not, see <http://www.gnu.org/licenses/>.
#
_exit() {
_exit()
{
echo $@
popd
exit 1

View File

@ -16,7 +16,8 @@
# this program; if not, see <http://www.gnu.org/licenses/>.
#
_exit() {
_exit()
{
echo $@
popd
exit 1

View File

@ -16,7 +16,8 @@
# this program; if not, see <http://www.gnu.org/licenses/>.
#
_exit() {
_exit()
{
echo $@
popd
exit 1