mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Bash scripts; use double brackets, fix bare variables, add quotes
These scripts explicitly use Bash, so we should be able to use `[[` instead of `[` (which seems to be recommended). Also added curly brackets to some bare variables, and quoted some paths. This makes my IDE a bit more silent :-) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -25,6 +25,6 @@ install_runc() {
|
||||
target="$1"
|
||||
fi
|
||||
make BUILDTAGS="$RUNC_BUILDTAGS" "$target"
|
||||
mkdir -p ${PREFIX}
|
||||
cp runc ${PREFIX}/runc
|
||||
mkdir -p "${PREFIX}"
|
||||
cp runc "${PREFIX}/runc"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user