Browse Source

release-deb: create "dists" directory if missing

The script failed if an empty volume is used
to generate the repo. This adds the directory
if missing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 9 years ago
parent
commit
94ac03cdf5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hack/make/release-deb

+ 1 - 1
hack/make/release-deb

@@ -22,7 +22,7 @@ source "$(dirname "$BASH_SOURCE")/.detect-daemon-osarch"
 APTDIR=$DOCKER_RELEASE_DIR/apt/repo
 APTDIR=$DOCKER_RELEASE_DIR/apt/repo
 
 
 # setup the apt repo (if it does not exist)
 # setup the apt repo (if it does not exist)
-mkdir -p "$APTDIR/conf" "$APTDIR/db"
+mkdir -p "$APTDIR/conf" "$APTDIR/db" "$APTDIR/dists"
 
 
 # supported arches/sections
 # supported arches/sections
 arches=( amd64 i386 )
 arches=( amd64 i386 )