mirror of
https://github.com/falk-werner/webfuse
synced 2025-06-13 12:54:15 +00:00
* adds debian builder image * adds arm32v7 debian based builder image * sets the default build target to amd64-ubuntu-builder if MARCH is unset * adds distro filter and set default to ubuntu for travis disables debian builds for now * fixes wrapper for non container hosts * fixes distro selection and parallel mflags * changes parallelization option * fixes parallel flags and variable names * enhances makefile adds checksum for fetch dependencies discovers necessary commands fixes error when script get_container_id not found * fixes copy artifacts to image * fixes typo * fixes another typo * removes bash dependency - simplifies scripts to support posix shell - adds REGISTERY_PREFIX to support usage of local docker registry - renames wrapper template - adds discovery for tty and interactive for wrappers * adds docker-compose wrapper * adds ability to start wrapper in namespace of another container * renames compose wrapper script * adds support to retrieve source epoch date for svn * fixes handling for positional arguments * removes docker connection options * removes dependency to readlink * removes duplicate options
19 lines
219 B
Bash
Executable File
19 lines
219 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
running_in_background() {
|
|
pid="$1"
|
|
|
|
case "$("$PS" -o stat= -p "$pid" 2>/dev/null || echo '+')" in
|
|
*+*) ;;
|
|
*) return 0 ;;
|
|
esac
|
|
|
|
return 1
|
|
}
|
|
|
|
PS="${PS:-ps}"
|
|
|
|
running_in_background "$@"
|