mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 08:54:01 +00:00
4e5798852f
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@' ```
6 lines
104 B
Bash
Executable file
6 lines
104 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
dest=${1-config/defaults.hjson}
|
|
|
|
cargo run -- --print-config-docs > "$dest"
|