summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archrelease.in3
-rw-r--r--commitpkg.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/archrelease.in b/archrelease.in
index 5bc2c90..533a547 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -54,6 +54,9 @@ for file in "${known_files[@]}"; do
fi
done
+# gracefully handle files containing an "@" character
+known_files=("${known_files[@]/%/@}")
+
for tag in "$@"; do
stat_busy "Copying ${trunk} to ${tag}"
diff --git a/commitpkg.in b/commitpkg.in
index b5cf043..8b87426 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -57,7 +57,7 @@ esac
# check if all local source files are under version control
for s in "${source[@]}"; do
- if [[ $s != *://* ]] && ! svn status -v "$s" | grep -q '^[ AMRX~]'; then
+ if [[ $s != *://* ]] && ! svn status -v "$s@" | grep -q '^[ AMRX~]'; then
die "$s is not under version control"
fi
done