1
0
mirror of https://github.com/rancher/os.git synced 2025-09-15 22:49:08 +00:00

Optimize indentation format for shell scripts

This commit is contained in:
niusmallnan
2018-11-22 16:28:46 +08:00
parent b131ddeb7c
commit 50e72e629b
13 changed files with 117 additions and 117 deletions

View File

@@ -39,7 +39,7 @@ if [ -e ${DOWNLOADS}/kernel.tar.gz ]; then
## and then package it up cpio
#cd ${BUILD}/kernel-fs/
#echo Creating kernel ${ARTIFACTS}/linuxmods-${KERNEL_VERSION}
#if [ "$COMPRESS" == "" ]; then
# COMPRESS="gzip -1"
#fi
@@ -50,17 +50,17 @@ if [ -e ${DOWNLOADS}/kernel.tar.gz ]; then
#cp ${ARTIFACTS}/linuxmods-${KERNEL_VERSION} ${BUILD}/kernel/linuxmods
fi
else
if [ "$ARCH" == "amd64" ]; then
echo "no ${DOWNLOADS}/kernel.tar.gz found"
exit 1
fi
if [ "$ARCH" == "amd64" ]; then
echo "no ${DOWNLOADS}/kernel.tar.gz found"
exit 1
fi
fi
if [ "$ARCH" == "amd64" ]; then
ls -lah ${ARTIFACTS}/vmlinuz-*
if [ ! -e "${ARTIFACTS}/vmlinuz-${KERNEL_VERSION}" ]; then
echo "Can't find ${ARTIFACTS}/vmlinuz-${KERNEL_VERSION}"
exit -1
fi
ls -lah ${ARTIFACTS}/vmlinuz-*
if [ ! -e "${ARTIFACTS}/vmlinuz-${KERNEL_VERSION}" ]; then
echo "Can't find ${ARTIFACTS}/vmlinuz-${KERNEL_VERSION}"
exit -1
fi
fi