X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=release.sh;h=d7e264b78fc227fc7f5fcdf1c2b9379ca9f2da44;hb=a6fb71019bb97cc4bf8b5f6ca479a0ffd0cf4518;hp=08fcf50425a4c2baab2b2646631b83a53bbc5342;hpb=03ab5e065f64030ff7b5a3b995b36d6504385589;p=spectrwm.git diff --git a/release.sh b/release.sh index 08fcf50..d7e264b 100644 --- a/release.sh +++ b/release.sh @@ -35,6 +35,8 @@ done tar zcf $TARGET.tgz $TARGET # make port +sudo rm -rf ports +sudo cvs -d /cvs co ports/x11/scrotwm PORT="$PREFIX$1-port" mkdir $PORT @@ -60,4 +62,7 @@ cp port/patches/patch-scrotwm_c $PORT/patches/ cp port/patches/patch-scrotwm_conf $PORT/patches/ # make diff -diff -ruNp -x CVS /usr/ports/x11/scrotwm/ $PORT > $TARGET.diff +diff -ruNp -x CVS ports/x11/scrotwm/ $PORT > $TARGET.diff + +# kill ports dir or cvs will be angry +sudo rm -rf ports