Fail if repository cannot be created
This commit is contained in:
@ -962,7 +962,7 @@
|
||||
</exec>
|
||||
</target>
|
||||
<target name="debianrepo" depends="debian">
|
||||
<exec dir="debian" executable="./makerepo.sh" />
|
||||
<exec dir="debian" executable="./makerepo.sh" failonerror="true"/>
|
||||
</target>
|
||||
|
||||
<!-- 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
|
||||
# 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.
|
||||
#
|
||||
# TODO: error handling
|
||||
|
||||
set -e
|
||||
|
||||
cd $(dirname $0)
|
||||
DIR=./repo
|
||||
|
Reference in New Issue
Block a user