Fix argument defaulting in install_xrdp_build_dependencies_with_apt.sh
#!/bin/sh
set -eufx
+FEATURE_SET=min
+ARCH=amd64
+
+if [ $# -ge 1 ]; then
FEATURE_SET="$1"
-ARCH="$2"
shift
-shift
-APT_EXTRA_ARGS="$@"
-
-if [ -z "$FEATURE_SET" ]; then
- FEATURE_SET=min
fi
-
-if [ -z "$ARCH" ]; then
- ARCH=amd64
+if [ $# -ge 1 ]; then
+ ARCH="$1"
+ shift
fi
-
+APT_EXTRA_ARGS="$@"
# common build tools for all architectures and feature sets
PACKAGES=" \
