diff options
-rwxr-xr-x | git-maintenance/get.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/git-maintenance/get.sh b/git-maintenance/get.sh index c3322f8..961d103 100755 --- a/git-maintenance/get.sh +++ b/git-maintenance/get.sh @@ -4,13 +4,16 @@ PASS="$(ls "/run/media/"*/*"/key.fsojp.aes256" | head -n 1)" PUBKEY=1KwpZECcrGWnM3AFVSbv3Xr5qguV4yG2sV URLPFX="https://bico.media/$PUBKEY" -REPONAME="$(git rev-parse --show-toplevel 2>/dev/null)" -if [ "$REPONAME" = "" ] +if [ "$1" != "" ] then REPONAME="$1" fi if [ "$REPONAME" = "" ] then + REPONAME="$(git rev-parse --show-toplevel 2>/dev/null)" +fi +if [ "$REPONAME" = "" ] +then REPONAME=for-slow-organization-job-private fi |