Merge pull request 'Fix installation target bug' (#7) from bugfix/installation-script-target into main

Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2026-05-07 17:40:56 +02:00
Regular → Executable
+4 -5
View File
@@ -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;
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"