Commit b461cba3 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Tests: /bin/bash is not portable enough

On FreeBSD bash is not stored in /bin. Instead use /usr/bin/env to launch bash
parent f541ea0c
#!/bin/bash
#!/usr/bin/env bash
if [ $# -eq 0 -o "$1" == "-h" -o "$1" == "--help" ]; then
echo "Usage: $0 <file.should_get>
......
#!/bin/bash
#!/usr/bin/env bash
# This script also parse a file .should_get
# In the .should_get format, every line starting with a # is a comment
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment