mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
370b1a887c
The initial implementation was far more complicated than necessary. Strip out the complexities in favor of a simpler and more direct approach. Signed-off-by: Chris Evich <cevich@redhat.com>
22 lines
279 B
Bash
Executable file
22 lines
279 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source $(dirname $0)/lib.sh
|
|
|
|
req_env_var GOSRC
|
|
|
|
cd "$GOSRC"
|
|
make install.tools
|
|
make localunit
|
|
|
|
case "$SPECIALMODE" in
|
|
in_podman) ;&
|
|
rootless) ;&
|
|
none)
|
|
make
|
|
;;
|
|
*)
|
|
die 109 "Unsupported \$SPECIAL_MODE: $SPECIALMODE"
|
|
esac
|