From 4b0766d630d4f6ce12abf858b0180cee309afebd Mon Sep 17 00:00:00 2001 From: Stonewall Jackson Date: Mon, 22 May 2023 13:19:59 -0400 Subject: fix 'dubious ownership' git issue in update scripts --- .../templates/opt/photostructure/photostructure-update.sh.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles') diff --git a/roles/photostructure/templates/opt/photostructure/photostructure-update.sh.j2 b/roles/photostructure/templates/opt/photostructure/photostructure-update.sh.j2 index 114a145..7afa114 100644 --- a/roles/photostructure/templates/opt/photostructure/photostructure-update.sh.j2 +++ b/roles/photostructure/templates/opt/photostructure/photostructure-update.sh.j2 @@ -20,8 +20,8 @@ cd "$SRCDIR" as-photostructure git fetch -local_rev=$(git rev-parse HEAD) -upstream_rev=$(git rev-parse '@{u}') +local_rev=$(as-photostructure git rev-parse HEAD) +upstream_rev=$(as-photostructure git rev-parse '@{u}') echo "local: $local_rev" echo "upstream: $upstream_rev" -- cgit