mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
make-debs.sh: clean dir to avoid build deb packages error
Without this patch, it'll hit build error in the 2nd time. Example: make-deb.sh #no error: first time make-deb.sh #hit error: second time Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
This commit is contained in:
parent
60d4fa608e
commit
ae5a294000
@ -19,7 +19,7 @@ set -xe
|
||||
base=${1:-/tmp/release}
|
||||
codename=$(lsb_release -sc)
|
||||
releasedir=$base/$(lsb_release -si)/WORKDIR
|
||||
rm -fr $releasedir
|
||||
rm -fr $(dirname $releasedir)
|
||||
mkdir -p $releasedir
|
||||
#
|
||||
# remove all files not under git so they are not
|
||||
|
Loading…
Reference in New Issue
Block a user