Fail if repository cannot be created

This commit is contained in:
HungryHobo
2010-11-09 22:19:32 +00:00
parent 5d9a7b9452
commit ab432e14ee
2 changed files with 3 additions and 3 deletions

View File

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

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