X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fmake-tar.sh;h=5a99fb9dbe90f7ddb3af9858e9295607eaa4a17b;hp=1b5165618040d502f07af42f7d932846ae7d6457;hb=643ec2bf782cd02efafe3ccdeaea8920a404645e;hpb=a20e6eb464be80b9cd8cae7ce925d27fe9c209ed;ds=sidebyside diff --git a/Ada95/make-tar.sh b/Ada95/make-tar.sh index 1b516561..5a99fb9d 100755 --- a/Ada95/make-tar.sh +++ b/Ada95/make-tar.sh @@ -1,7 +1,8 @@ #!/bin/sh -# $Id: make-tar.sh,v 1.16 2017/08/12 12:22:06 tom Exp $ +# $Id: make-tar.sh,v 1.19 2021/06/17 21:26:02 tom Exp $ ############################################################################## -# Copyright (c) 2010-2015,2017 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 ./Ada95 && cd ./Ada95 SOURCE=`cd ..;pwd` BUILD=$TMPDIR/make-tar$$ -trap "cd /; rm -rf $BUILD; exit 0" 0 1 2 3 15 +trap "cd /; rm -rf $BUILD; exit 0" EXIT INT QUIT TERM HUP umask 077 if ! ( mkdir $BUILD ) @@ -127,10 +128,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 {} \;