projects
/
postgis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49b3f31
)
Backup final (reversioned) output dirs if already existing
author
Sandro Santilli
<strk@keybit.net>
Tue, 1 Mar 2016 15:46:14 +0000
(15:46 +0000)
committer
Sandro Santilli
<strk@keybit.net>
Tue, 1 Mar 2016 15:46:14 +0000
(15:46 +0000)
Avoids creating tarball with a directory containing "postgis-dev"
subdirectory (not easy to spot)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14730
b70326c6
-7e19-0410-871a-
916f4a2858ee
make_dist.sh
patch
|
blob
|
history
diff --git
a/make_dist.sh
b/make_dist.sh
index b531b3d0788b24a6faa91106474f748e8071843a..dc11f21efda039023c4f104619aeaa150721c722 100755
(executable)
--- a/
make_dist.sh
+++ b/
make_dist.sh
@@
-90,7
+90,7
@@
if test "$tag" = "trunk"; then
VREV=`cat "$outdir"/postgis_svn_revision.h | awk '{print $3}'`
version="${VMAJ}.${VMIN}.${VMIC}-r${VREV}"
newoutdir=postgis-${version}
- mv -v
i
"$outdir" "$newoutdir"
+ mv -v
T --backup=t
"$outdir" "$newoutdir"
outdir=${newoutdir}
fi