aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-05-22 13:19:59 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-05-22 13:19:59 -0400
commit4b0766d630d4f6ce12abf858b0180cee309afebd (patch)
tree6c3d42457462293373ed00f0a09aba0f138e6857
parent4cc65dfa42085a542cfb2d94af5de4fe344cffb7 (diff)
downloadselfhosted-4b0766d630d4f6ce12abf858b0180cee309afebd.tar.gz
selfhosted-4b0766d630d4f6ce12abf858b0180cee309afebd.zip
fix 'dubious ownership' git issue in update scripts
-rw-r--r--roles/photostructure/templates/opt/photostructure/photostructure-update.sh.j24
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"