mirror of
https://github.com/containers/podman.git
synced 2025-06-01 09:06:44 +08:00

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
|