X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=id-deb-build%2Fid-mk-deb-src.sh;h=c63e772297a3d00ca7286cc1782dfb6fb76a0d43;hb=59853e1a8164b9fab87c694f63076796849da3ac;hp=4e351bb8e66db3fba973f386343238bfae36221e;hpb=07d3ab2843509e62a02650dff7e6ee1c05f921e6;p=git-tools-moved-to-github.git diff --git a/id-deb-build/id-mk-deb-src.sh b/id-deb-build/id-mk-deb-src.sh index 4e351bb..c63e772 100755 --- a/id-deb-build/id-mk-deb-src.sh +++ b/id-deb-build/id-mk-deb-src.sh @@ -11,10 +11,6 @@ fi if test -f debian/.gitignore; then cd debian; for i in `cat .gitignore`; do rm -fr $i; done; cd .. fi -if test -d deb-src; then - echo "deb-src exist. You might remove it" - exit 1 -fi l=`head -1 $DEBCHANGELOG` PROD=`echo $l|sed 's/ .*//g'` VERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'` @@ -29,7 +25,7 @@ if test ! -f ${TAR}; then exit 1 fi set -e -mkdir deb-src +mkdir -p deb-src ORIG=${PROD}_${MAJOR}.orig.tar.gz echo "TAR=$TAR" echo "ORIG=$ORIG"