mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
use spaces for whitespace
This commit is contained in:
parent
8b8ad13060
commit
76c5b22d9f
16
build.sh
16
build.sh
@ -43,7 +43,7 @@ usage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then
|
if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then
|
||||||
usage
|
usage
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -55,17 +55,17 @@ FILESYSTEM_CONFIG=""
|
|||||||
|
|
||||||
while getopts ":c:f:a:dhXA6" opt
|
while getopts ":c:f:a:dhXA6" opt
|
||||||
do
|
do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
a) ARCH="$OPTARG";;
|
a) ARCH="$OPTARG";;
|
||||||
c) CONFIG_NAME="$OPTARG";;
|
c) CONFIG_NAME="$OPTARG";;
|
||||||
f) FILESYSTEM_CONFIG="$OPTARG";;
|
f) FILESYSTEM_CONFIG="$OPTARG";;
|
||||||
X) ARCH="x86_64";;
|
X) ARCH="x86_64";;
|
||||||
A) ARCH="aarch64";;
|
A) ARCH="aarch64";;
|
||||||
6) ARCH="i686";;
|
6) ARCH="i686";;
|
||||||
h) usage;;
|
h) usage;;
|
||||||
\?) echo "Unknown option -$OPTARG, try -h for help"; exit;;
|
\?) echo "Unknown option -$OPTARG, try -h for help"; exit;;
|
||||||
:) echo "-$OPTARG requires a value"; exit;;
|
:) echo "-$OPTARG requires a value"; exit;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $((OPTIND -1))
|
shift $((OPTIND -1))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user