Skip to content

Scripts are not portable #497

@ghost

Description

  1. Usage of #!/bin/bash instead of #!/usr/bin/env bash
    1.1. why are the script using bash in first place, instead of pure /bin/sh? it is bit more work but keeps the script portable.
  2. lsb_release is not portable to all Linux based systems, e.g. Alpine Linux.
  3. Usage of sudo, if I am the root and there is no other user (e.g. typical docker environment), then the fails: ./configure: line 1729: sudo: not found

Haven't reached too far when trying to build against musl-libc based Alpine Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions