index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-06-10 11:35:39 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-06-10 12:47:40 +0200 |
commit | fda394f1a054e58f146e942b5971944e562583a0 (patch) | |
tree | b28175467049c0e52dfd085a1196677f682f31ef | |
parent | addea828fef4f96d19752ff409445bff03e13610 (diff) |
-rw-r--r-- | archrelease.in | 3 | ||||
-rw-r--r-- | commitpkg.in | 2 |
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 |