diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-05-22 13:19:59 -0400 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-05-22 13:19:59 -0400 |
commit | 4b0766d630d4f6ce12abf858b0180cee309afebd (patch) | |
tree | 6c3d42457462293373ed00f0a09aba0f138e6857 /roles/photostructure/templates | |
parent | 4cc65dfa42085a542cfb2d94af5de4fe344cffb7 (diff) | |
download | selfhosted-4b0766d630d4f6ce12abf858b0180cee309afebd.tar.gz selfhosted-4b0766d630d4f6ce12abf858b0180cee309afebd.zip |
fix 'dubious ownership' git issue in update scripts
Diffstat (limited to 'roles/photostructure/templates')
-rw-r--r-- | roles/photostructure/templates/opt/photostructure/photostructure-update.sh.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
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" |