Fail if repository cannot be created
This commit is contained in:
@ -962,7 +962,7 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
<target name="debianrepo" depends="debian">
|
<target name="debianrepo" depends="debian">
|
||||||
<exec dir="debian" executable="./makerepo.sh" />
|
<exec dir="debian" executable="./makerepo.sh" failonerror="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- the following are appened to help build barebone portable version,
|
<!-- the following are appened to help build barebone portable version,
|
||||||
|
4
debian/makerepo.sh
vendored
4
debian/makerepo.sh
vendored
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# This script creates a Debian repository in ${DIR} using the reprepro tool.
|
# This script creates a Debian repository in ${DIR} using the reprepro tool.
|
||||||
# The packages are signed with the key referenced in the newest changelog entry.
|
# The packages are signed with the key referenced in the newest changelog entry.
|
||||||
#
|
|
||||||
# TODO: error handling
|
set -e
|
||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
DIR=./repo
|
DIR=./repo
|
||||||
|
Reference in New Issue
Block a user