Change shebangs to /usr/bin/env calls for better portability (#5961)

Signed-off-by: Egor Savkin <tomasfire@live.com>
This commit is contained in:
火焚 富良 2024-07-02 00:21:52 +08:00 committed by GitHub
parent d054a77373
commit 8003611c37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
24 changed files with 25 additions and 23 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
roots='./server/server ./server/front ./pods/account ./pods/backup'
# ./products/tracker is temporary disabled

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
version=$(git rev-parse HEAD)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
version=$(git describe --tags --abbrev=0)
rev_version=$(git rev-parse HEAD)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
echo "Tagging release $1 with version $2"
docker tag "$1" "$1:$2"
docker push "$1:$2"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
version=$(git describe --all --long)
echo \"$version\"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2022 Hardcore Engineering Inc.
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export ACCOUNTS_URL=http://localhost:3333
export UPLOAD_URL=http://localhost:3333/files

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright © 2020, 2021 Anticrm Platform Contributors.
# Copyright © 2021 Hardcore Engineering Inc.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export ACCOUNTS_URL=http://localhost:3333
export UPLOAD_URL=http://localhost:3333/files

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
mkdir -p ./.build
cd ./.build
if ! test -f ./v20.43.0.zip; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Restore workspace contents in mongo/elastic
rush build

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Usage
# ./install-elastic-plugin-setup.sh sanity_elastic_1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Usage
# ./install-elastic-plugin.sh sanity_elastic_1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
docker compose -p sanity kill
docker compose -p sanity down --volumes

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
docker compose -p sanity kill
docker compose -p sanity down --volumes

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Restore workspace contents in mongo/elastic
./tool.sh backup-restore ./sanity-ws sanity-ws

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export MINIO_ACCESS_KEY=minioadmin
export MINIO_SECRET_KEY=minioadmin