1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Change template indicator to ##yadm.j2

This commit is contained in:
Tim Byrne
2017-03-31 16:42:51 -05:00
parent 0b1b810722
commit 9824de5410
4 changed files with 11 additions and 11 deletions

4
yadm
View File

@@ -197,9 +197,9 @@ function alt() {
done
#; loop over all "tracked" files
#; for every file which is a *##yadm_tmpl create a real file
#; for every file which is a *##yadm.j2 create a real file
local IFS=$'\n'
local match="^(.+)##yadm_tmpl$"
local match="^(.+)##yadm\\.j2$"
for tracked_file in $("$GIT_PROGRAM" ls-files | sort) $(cat "$YADM_ENCRYPT" 2>/dev/null); do
tracked_file="$YADM_WORK/$tracked_file"
if [ -e "$tracked_file" ] ; then