build.sh: Fix escaping gitdch calling args
This commit is contained in:
parent
bf37e6223e
commit
2927065ed6
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -73,17 +73,17 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Generate debian changelog using gitdch..."
|
echo "Generate debian changelog using gitdch..."
|
||||||
GITDCH_ARGS='--verbose'
|
GITDCH_ARGS=('--verbose')
|
||||||
[ -n "$QUIET_ARG" ] && GITDCH_ARGS='--warning'
|
[ -n "$QUIET_ARG" ] && GITDCH_ARGS=('--warning')
|
||||||
if [ -n "$MAINTAINER_NAME" ]
|
if [ -n "$MAINTAINER_NAME" ]
|
||||||
then
|
then
|
||||||
echo "Use maintainer name from environment ($MAINTAINER_NAME)"
|
echo "Use maintainer name from environment ($MAINTAINER_NAME)"
|
||||||
GITDCH_ARGS="$GITDCH_ARGS --maintainer-name '$MAINTAINER_NAME'"
|
GITDCH_ARGS+=("--maintainer-name" "${MAINTAINER_NAME}")
|
||||||
fi
|
fi
|
||||||
if [ -n "$MAINTAINER_EMAIL" ]
|
if [ -n "$MAINTAINER_EMAIL" ]
|
||||||
then
|
then
|
||||||
echo "Use maintainer email from environment ($MAINTAINER_EMAIL)"
|
echo "Use maintainer email from environment ($MAINTAINER_EMAIL)"
|
||||||
GITDCH_ARGS="$GITDCH_ARGS --maintainer-email '$MAINTAINER_EMAIL'"
|
GITDCH_ARGS+=("--maintainer-email" "$MAINTAINER_EMAIL")
|
||||||
fi
|
fi
|
||||||
$GITDCH \
|
$GITDCH \
|
||||||
--package-name mylib \
|
--package-name mylib \
|
||||||
|
@ -91,7 +91,7 @@ $GITDCH \
|
||||||
--code-name $DEBIAN_CODENAME \
|
--code-name $DEBIAN_CODENAME \
|
||||||
--output debian/changelog \
|
--output debian/changelog \
|
||||||
--path ../../ \
|
--path ../../ \
|
||||||
$GITDCH_ARGS
|
"${GITDCH_ARGS[@]}"
|
||||||
|
|
||||||
echo "Add custom package name for dependencies..."
|
echo "Add custom package name for dependencies..."
|
||||||
cat << EOF > debian/py3dist-overrides
|
cat << EOF > debian/py3dist-overrides
|
||||||
|
|
Loading…
Reference in a new issue