changeset 1551:36dddb6755f6 feature_1136

Need -f in case no authormaps exist yet
author Chris Cannam
date Tue, 12 Jan 2016 17:55:48 +0000
parents 7d825cbd76c8
children 3a2254124fa8
files extra/soundsoftware/export-git.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extra/soundsoftware/export-git.sh	Tue Jan 12 17:22:27 2016 +0000
+++ b/extra/soundsoftware/export-git.sh	Tue Jan 12 17:55:48 2016 +0000
@@ -59,7 +59,7 @@
 # Delete any existing authormap files, because we want to ensure we
 # don't have an authormap for any project that was exportable but has
 # become non-exportable (e.g. has gone private)
-rm "$authordir/*"
+rm -f "$authordir/*"
 
 "$rails" runner -e "$environment" "$progdir/create-repo-authormaps.rb" \
 	 -s "$hgdir" -o "$authordir"