while-true-do / ansible-skeleton

The skeleton to create new ansible roles.
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

update-meta-files.sh containing invalid paths #4

Closed dschier-wtd closed 6 years ago

dschier-wtd commented 6 years ago

Type of Report

Bug

Actual behaviour

Some files are not downloaded properly. This was basically untestable in the beginning 🤕

✘ ds ~/Projekte/while-true-do/ansible-role-selinux $ bash ./update-meta-files.sh -t
Downloading Test Files
----------------------
Downloading https://raw.githubusercontent.com/while-true-do/ansible-galaxy-skeleton/master/tests/
./update-meta-files.sh: Zeile 62: /home/ds/Projekte/while-true-do/ansible-role-selinux/tests/https://raw.githubusercontent.com/while-true-do/ansible-galaxy-skeleton/master/tests/: No such file or directory

✘ ds ~/Projekte/while-true-do/ansible-role-selinux $ bash ./update-meta-files.sh -s
./update-meta-files.sh: Zeile 99: update_selfs: Kommando nicht gefunden.

✘ ds ~/Projekte/while-true-do/ansible-role-selinux $ bash ./update-meta-files.sh -m
Downloading Meta Files
----------------------
Downloading https://raw.githubusercontent.com/while-true-do/ansible-galaxy-skeleton/master/
./update-meta-files.sh: Zeile 72: /home/ds/Projekte/while-true-do/ansible-role-selinux/https://raw.githubusercontent.com/while-true-do/ansible-galaxy-skeleton/master/: No such file or directory

Expected behaviour

All downloads should work as expected ;)

dschier-wtd commented 6 years ago

Gnarf, false positiv during testing. Had an old script 👍