Skip to content

Commit

Permalink
gnostr-proxy:detect CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Jan 26, 2024
1 parent 21fd52b commit d44524c
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions gnostr-proxy
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

PROCESS=$$

echo $$ > PROCESS

TERM=xterm

ARG=${1:-}
Expand Down Expand Up @@ -37,9 +37,43 @@ then
printf "v0.0.0"; exit
fi

## var=$CI
## if [[ -z "$var" ]]; then
## echo "var=$var; CI=$CI"
## fi
## [[ -z "$var" ]]; echo "var=$var;"
## ## [[ -z "$CI" ]]; echo "CI=$CI"

gnostr-set-relays 2>/tmp/gnostr-proxy.log || echo
(echo `pwd`) & clear && \

## CI=test
## echo 48:CI=test

## if [[ -z $CI ]];
## then
## echo "-z CI=$CI"
## fi
## if [[ ! -z $CI ]];
## then
## echo "! -z CI=$CI"
## fi

##CI=""
## echo 54:CI=\"\"

## if [[ -z "$CI" ]];
## then
## echo "-z CI=$CI"
## fi
## if [[ ! -z "$CI" ]];
## then
## echo "! -z CI=$CI"
## fi

if [[ -z "$CI" ]];
then
(echo `pwd`) & clear
fi
# gnostr-proxy sub-shell process
#
#
Expand Down

0 comments on commit d44524c

Please sign in to comment.