use colon as nullcommand instead of dummy statement

This commit is contained in:
George Danchev 2011-07-16 13:41:18 +00:00
parent 8c07b37efd
commit 5c1c678df8
3 changed files with 3 additions and 6 deletions

View File

@ -122,8 +122,7 @@ next_is=
for i in "$@" for i in "$@"
do do
if test "$next_is" = "ignore" if test "$next_is" = "ignore"
then then :
dummy=dummy
elif test "$next_is" = "x" elif test "$next_is" = "x"
then then
RELENG_XORRISO="$i" RELENG_XORRISO="$i"

View File

@ -148,8 +148,7 @@ case ${RET} in
get_devices "$devices" "$dev" get_devices "$devices" "$dev"
RET="$?" RET="$?"
if test "$RET" = 0 if test "$RET" = 0
then then :
dummy=dummy
else else
echo "FAIL : ${SELF} : Device scan or single drive listing failed" echo "FAIL : ${SELF} : Device scan or single drive listing failed"
exit "$RET" exit "$RET"

View File

@ -29,8 +29,7 @@ next_is=
for i in "$@" for i in "$@"
do do
if test "$next_is" = "ignore" if test "$next_is" = "ignore"
then then :
dummy=dummy
elif test "$next_is" = "x" elif test "$next_is" = "x"
then then
RELENG_XORRISO="$i" RELENG_XORRISO="$i"