summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-11-13 22:05:32 +0100
committerErich Eckner <git@eckner.net>2021-11-13 22:05:32 +0100
commit99ddecacdbccd32dae5f99e2269eea9415026b6a (patch)
treee8620d1bd4c47b3669ed2eb4c3a5b0a39f1fc1ae /common
parentd3a28c07ba52c517a44cb5d34089bf7d05d7b190 (diff)
downloadcarddav-alpine-converter-99ddecacdbccd32dae5f99e2269eea9415026b6a.tar.xz
vcs -> vcf
Diffstat (limited to 'common')
-rw-r--r--common6
1 files changed, 3 insertions, 3 deletions
diff --git a/common b/common
index 6c7db2f..7dfc7dc 100644
--- a/common
+++ b/common
@@ -14,19 +14,19 @@ keys=(
'REV'
)
-find_vcs() {
+find_vcfs() {
{
find "${git_dir}" \
-name '.git' \
-prune \
, \
-type f \
- -name '*.vcs' \
+ -name '*.vcf' \
-printf '%p\n'
git -C "${git_dir}" archive HEAD \
| tar -t \
| sed '
- /\.vcs$/!d
+ /\.vcf$/!d
s@^@'"${git_dir%/}"'/@
'
} \