Skip to content

Commit

Permalink
Merge pull request #6 from PhilippePitzClairoux/feature/refactor-prog…
Browse files Browse the repository at this point in the history
…ram-name

Feature/refactor program name
  • Loading branch information
PhilippePitzClairoux authored Feb 5, 2024
2 parents b4d415c + 1666b8d commit c2cb38b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ ADD OpenConnectSSO.go OpenConnectSSO.go
RUN mkdir out

# build executable
CMD ["go", "build", "-o", "out/go-openconnect-sso", "."]
CMD ["go", "build", "-o", "out/openconnect-sso", "."]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ go install github.com/PhilippePitzClairoux/openconnect-sso@latest
## Usage
Simple example :
```bash
./go-openconnect-sso --server vpn.host.com
openconnect-sso --server vpn.host.com
```

Auto-fill username and/or password
```bash
./go-openconnect-sso --server vpn.host.com --username [email protected] --password oopsThisMightNotBeTheBestIdeaEver
openconnect-sso --server vpn.host.com --username [email protected] --password oopsThisMightNotBeTheBestIdeaEver
```

## How to build
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ sh -c "docker run ${OVERRIDE_GO_VARIABLES} --name builder openconnect-sso-build
echo -e "Copy executable from container to ./out directory\n"
docker cp builder:/opt/out ./out

#echo "Copying ./out/go-openconnect-sso to /usr/bin/go-openconnect-sso"
#sudo cp ./out/go-openconnect-sso /usr/bin/go-openconnect-sso
echo "Copying ./out/openconnect-sso to /usr/bin/openconnect-sso"
sudo cp ./out/openconnect-sso /usr/bin/openconnect-sso

0 comments on commit c2cb38b

Please sign in to comment.