X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fmake-tar.sh;h=23b6c837f4de5c59cb13569c7dd63b312d0c291d;hp=9371ac9afd83bbb388f1f3fd561fbc4f903949c2;hb=9f479192e3ca3413d235c66bf058f8cc63764898;hpb=ed3eb506e9a8e6ea871a2eb5818e19ba36f3f277 diff --git a/test/make-tar.sh b/test/make-tar.sh index 9371ac9a..23b6c837 100755 --- a/test/make-tar.sh +++ b/test/make-tar.sh @@ -1,7 +1,8 @@ #!/bin/sh -# $Id: make-tar.sh,v 1.13 2015/05/16 17:12:45 tom Exp $ +# $Id: make-tar.sh,v 1.17 2021/06/17 21:26:02 tom Exp $ ############################################################################## -# Copyright (c) 2010-2013,2015 Free Software Foundation, Inc. # +# Copyright 2019-2020,2021 Thomas E. Dickey # +# Copyright 2010-2015,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -80,7 +81,7 @@ test -d ./test && cd ./test SOURCE=`cd ..;pwd` BUILD=$TMPDIR/make-tar$$ -trap "cd /; rm -rf $BUILD; exit 0" 0 1 2 5 15 +trap "cd /; rm -rf $BUILD; exit 0" EXIT INT QUIT TERM HUP umask 077 if ! ( mkdir $BUILD ) @@ -117,10 +118,10 @@ cp -p $SOURCE/NEWS $BUILD/$ROOTNAME # cleanup empty directories (an artifact of ncurses source archives) -touch $BUILD/$ROOTNAME/MANIFEST +touch $BUILD/$ROOTNAME/MANIFEST ( cd $BUILD/$ROOTNAME && find . -type f -print |$SOURCE/misc/csort >MANIFEST ) -cd $BUILD || exit +cd $BUILD || exit # Remove build-artifacts. find . -name RCS -exec rm -rf {} \;