Skip to content
Snippets Groups Projects
Commit f0683f47 authored by Franck Dary's avatar Franck Dary
Browse files

Updated shebangs to be more portable

parent 2c655fd4
No related branches found
No related tags found
No related merge requests found
#! /usr/bin/python3 #! /usr/bin/env python3
import sys import sys
import os import os
......
#! /usr/bin/python3 #! /usr/bin/env python3
import sys import sys
......
#! /bin/bash #! /usr/bin/env bash
function has_space { function has_space {
[[ "$1" != "${1%[[:space:]]*}" ]] && return 0 || return 1 [[ "$1" != "${1%[[:space:]]*}" ]] && return 0 || return 1
......
#! /usr/bin/python3 #! /usr/bin/env python3
import sys import sys
import os import os
......
#! /bin/bash #! /usr/bin/env bash
source config source config
......
#! /usr/bin/python3 #! /usr/bin/env python3
import glob import glob
import sys import sys
......
#! /bin/bash #! /usr/bin/env bash
function has_space { function has_space {
[[ "$1" != "${1%[[:space:]]*}" ]] && return 0 || return 1 [[ "$1" != "${1%[[:space:]]*}" ]] && return 0 || return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment