diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 16:55:28 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 16:55:28 -0800 |
commit | 2f01849a3fbf7e4bb6e3588df6769a40148fe4b4 (patch) | |
tree | c8d5c1aea29cad5085fe9f320e341d5df8359750 /git-maintenance | |
parent | 22f84a2e843b985deb9fe3f4e378e29059b16645 (diff) | |
download | standingwithresilience-2f01849a3fbf7e4bb6e3588df6769a40148fe4b4.tar.gz standingwithresilience-2f01849a3fbf7e4bb6e3588df6769a40148fe4b4.zip |
fix logic error
Diffstat (limited to 'git-maintenance')
-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 |