From 4de63656867cff3ed5f0765c7f9e34fc0fdefdd3 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Thu, 7 May 2026 17:38:35 +0200 Subject: [PATCH 1/2] Fix installation target bug --- install.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) mode change 100644 => 100755 install.sh diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 00cc7c1..2b3dfec --- a/install.sh +++ b/install.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash # Installs the Git repo object sizes tool. -# -# Usage: -# ./install.sh [TARGET] -# Default for TARGET is /usr/local/bin/git-repo-object-sizes +target=/usr/local/bin/git-repo-object-sizes -curl https://repo.jcloud-services.ddns.net/software/git-repo-object-sizes/git-repo-object-sizes_latest_linux_amd64.tar.gz | tar -xzf - -O ./git-repo-object-sizes.sh > $target; \ No newline at end of file +curl https://repo.jcloud-services.ddns.net/software/git-repo-object-sizes/git-repo-object-sizes_latest_linux_amd64.tar.gz | tar -xzf - -O git-repo-object-sizes/git-repo-object-sizes.sh > "$target" + +chmod +x "$target" \ No newline at end of file