Skip to content

Commit

Permalink
fix(relay): move entrypoint script shebang to 1st line
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <[email protected]>
  • Loading branch information
sandeepnRES authored and petermetz committed Sep 29, 2023
1 parent b7ad571 commit 924b012
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions weaver/core/relay/docker/entrypoint-client.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0

#!/bin/sh


if [ "${ENABLE_TLS}" == "true" ]; then
BINARY="$(pwd)/client-tls"
else
Expand Down
4 changes: 2 additions & 2 deletions weaver/core/relay/docker/entrypoint-driver.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0

#!/bin/sh

DRIVER_CONFIG_TEMPLATE=${DRIVER_CONFIG_TEMPLATE:-$(pwd)/config/driver.template.toml}

# We need to export this variable because it needs to be visible
Expand Down
4 changes: 2 additions & 2 deletions weaver/core/relay/docker/entrypoint-server.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0

#!/bin/sh

RELAY_DNS_CONFIG=${RELAY_DNS_CONFIG:-$(pwd)/config/relays}
RELAY_CONFIG_TEMPLATE=${RELAY_CONFIG_TEMPLATE:-$(pwd)/config/server.template.toml}

Expand Down
4 changes: 2 additions & 2 deletions weaver/core/relay/docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0

#!/bin/sh

BINARY=${1:-server}

case $BINARY in
Expand Down

0 comments on commit 924b012

Please sign in to comment.