ahembree / ansible-hms-docker

Ansible playbook for automated home media server setup
GNU General Public License v3.0
391 stars 47 forks source link

Makefile uses [[ but is called via sh #34

Closed TiiFuchs closed 9 months ago

TiiFuchs commented 9 months ago

On Debian 12 I get the following error while running make:

make advanced
⚠ This will overwrite all existing files in './vars/custom', are you sure? [y/n] > /bin/sh: 2: read: arg count
/bin/sh: 3: [[: not found
[OK] Copying files...

The Makefiles statements are run with /bin/sh (apparently) but [[ is only available with bash etc.

ahembree commented 9 months ago

Thanks for the report! This has been resolved in https://github.com/ahembree/ansible-hms-docker/commit/18d36f400c17eb4f64cbb8e81e06b30ff64d1705