X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=release.sh;h=fc6ee929d0af5f6e94af9f05748a08261ae2d1cf;hb=f70e9b6b3af3c7b006c5bc4f59e75e1d5cbdb987;hp=08fcf50425a4c2baab2b2646631b83a53bbc5342;hpb=03ab5e065f64030ff7b5a3b995b36d6504385589;p=spectrwm.git diff --git a/release.sh b/release.sh index 08fcf50..fc6ee92 100644 --- a/release.sh +++ b/release.sh @@ -1,10 +1,9 @@ #!/bin/ksh # -# $scrotwm$ PREFIX=scrotwm- -DIRS="lib linux" -FILES="Makefile baraction.sh initscreen.sh screenshot.sh scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm.c scrotwm.conf linux/Makefile linux/linux.c linux/util.h lib/Makefile lib/shlib_version lib/swm_hack.c" +DIRS="lib linux osx" +FILES="Makefile baraction.sh initscreen.sh screenshot.sh scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1 scrotwm.c scrotwm.conf linux/Makefile linux/linux.c linux/util.h linux/scrotwm.desktop lib/Makefile lib/shlib_version lib/swm_hack.c osx/Makefile osx/osx.h osx/osx.c" if [ -z "$1" ]; then echo "usage: release.sh " @@ -35,6 +34,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 +61,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