]> Untitled Git - lemmy.git/commit
make shebangs posix compliant (#2974)
authorCharles Hall <charles@computer.surgery>
Thu, 8 Jun 2023 19:38:26 +0000 (12:38 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Jun 2023 19:38:26 +0000 (15:38 -0400)
commit4e5798852f583a68d123a9c49ae0ef59ec9ffc76
tree5618451e6b1b3cf2815e08fa1bbecec4bce86226
parentf98476c5c0f2941942a9f41266d45f04c86315a9
make shebangs posix compliant (#2974)

Previously, these scripts wouldn't work on exotic systems such as NixOS.

```
fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@'
```
18 files changed:
api_tests/prepare-drone-federation-test.sh
api_tests/run-federation-test.sh
docker/docker_db_backup.sh
docker/test_deploy.sh
scripts/clear_db.sh
scripts/compilation_benchmark.sh
scripts/db-init.sh
scripts/fix-clippy.sh
scripts/install.sh
scripts/query_testing/apache_bench_report.sh
scripts/query_testing/api_benchmark.sh
scripts/query_testing/views_old/generate_reports.sh
scripts/query_testing/views_to_diesel_migration/generate_reports.sh
scripts/restore_db.sh
scripts/test.sh
scripts/update_config_defaults.sh
scripts/update_translations.sh
scripts/upgrade_deps.sh