• Michael Shigorin's avatar
    "if test ..." replaced by "if [ ... ]" · 180ed535
    Michael Shigorin authored
    Fixed up the remnants of the early style mix
    to correspond to the proposed doc/style.txt;
    the rationale being that
    
    	if [ ... ]; then
    		...
    		...
    	fi
    
    is the more readable construct among itself,
    
    	if test ...; then
    		...
    		...
    	fi
    
    and
    
    	[ ... ] && {
    		...
    		...
    	}
    
    due to the condition being more distinguishable
    when bracketed and the body more apparent as the
    one inside "if" and not any other block; the less
    obvious difference is that the final construct of
    the latter form is prone to the whole script exit
    status being non-zero if the condition isn't met.
    180ed535
Name
Last commit
Last update
..
00example Loading commit data...
bootloader Loading commit data...
build-distro Loading commit data...
build-ve Loading commit data...
cleanup Loading commit data...
dev Loading commit data...
dos Loading commit data...
firmware Loading commit data...
hdt Loading commit data...
install2 Loading commit data...
isohybrid Loading commit data...
isomd5sum Loading commit data...
live Loading commit data...
lowmem Loading commit data...
memtest Loading commit data...
pack Loading commit data...
power Loading commit data...
repo Loading commit data...
rescue Loading commit data...
stage2 Loading commit data...
syslinux Loading commit data...
systemd Loading commit data...
virtualbox Loading commit data...
x11 Loading commit data...
Makefile Loading commit data...
README Loading commit data...