Skip to content

Commit

Permalink
make-debs.sh: clean dir to avoid build deb packages error
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
LiucIntel committed Nov 24, 2018
1 parent 60d4fa6 commit ae5a294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae5a294

Please sign in to comment.