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

4
debian/makerepo.sh vendored
View File

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