Switched incorrect &&s to ||s.

This commit is contained in:
Scott Duensing 2022-09-26 18:08:49 -05:00
parent 051c81d3d2
commit 1fe91473b5

View file

@ -209,14 +209,14 @@ function buildJoeyLib() {
git clone https://skunkworks.kangaroopunch.com/skunkworks/joeylib.git
fi
rm -rf dist/${NAME}-${ARCH} && true
rm -rf dist/${NAME}-${ARCH} || true
mkdir -p dist/${NAME}-${ARCH}
pushd dist/${NAME}-${ARCH}
case ${BACKEND} in
orca)
OUT=${GOLDEN_GATE}/out/joey
rm -rf ${OUT} && true
rm -rf ${OUT} || true
mkdir -p ${OUT}/out/joey
pushd ${SRC}
iix assemble jIIgs.asm keep=31:/out/joey/jIIgsasm
@ -240,7 +240,7 @@ function buildJoeyLib() {
${AR} x ${INSTALLED}/lib/libSDL2main.a
${AR} rcs libjoeylib.a *.o
rm *.o
rm __.SYMDEF* && true
rm __.SYMDEF* || true
;;
esac
@ -283,7 +283,7 @@ function buildSDL2() {
git checkout ${TAG}
popd
rm -rf build && true
rm -rf build || true
mkdir -p build
pushd build
@ -305,7 +305,7 @@ function buildSDL2() {
function configureSFTP() {
if [[ ! -f /etc/ssh/sftponly_ready ]]; then
sudo addgroup sftponly && true
sudo addgroup sftponly || true
sudo sed -i 's/^Subsystem/#Subsystem/g' /etc/ssh/sshd_config
echo "Subsystem sftp internal-sftp -f AUTH -l VERBOSE" | sudo tee -a /etc/ssh/sshd_config
echo "Match Group sftponly" | sudo tee -a /etc/ssh/sshd_config
@ -693,7 +693,7 @@ function setCompiler() {
export LD_LIBRARY_PATH=${EHOME}/cross/${NAME}/lib
export CC=${TRIPLE}-clang
export AR=${TRIPLE}-ar
sudo rm -f /usr/lib/llvm-10/lib/clang/10.0.0/lib/darwin && true
sudo rm -f /usr/lib/llvm-10/lib/clang/10.0.0/lib/darwin || true
sudo ln -s ${EHOME}/cross/${NAME}/darwin /usr/lib/llvm-10/lib/clang/10.0.0/lib/.
;;