]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ensure that basedir exists for pbuilder images
authorAlfredo Deza <adeza@redhat.com>
Thu, 4 Jun 2015 13:49:30 +0000 (09:49 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 4 Jun 2015 13:49:30 +0000 (09:49 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/setup_pbuilder

index 91a7687a221bcb00e0d541a9ec014169f4545490..5ac523118baea967849d21795549d1d308ea4933 100755 (executable)
@@ -14,6 +14,9 @@ fi
 
 basedir="/srv/debian-base"
 
+# Ensure that the basedir directory exists
+mkdir -p "$basedir"
+
 # This used to live in a *file* on /srv/ceph-build as
 # /srv/ceph-build/update_pbuilder.sh Now it lives here because it doesn't make
 # sense to have a file that lives in /srv/ that we then concatenate to get its