Tests should fail if the OS filename argument is missing.
This commit is contained in:
parent
311c8ef289
commit
0b037fd2e6
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
os_filename="$1"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
os_filename="$1"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
# Force the path to be relative or absolute, but with at least one /
|
||||
# Otherwise, the command will be searched in the $PATH, instead of using the
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
# Force the path to be relative or absolute, but with at least one /
|
||||
# Otherwise, the command will be searched in the $PATH, instead of using the
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
os_filename="$1"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
os_filename="$1"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
||||
echo "Usage: $0 operating_system_file"
|
||||
exit 1
|
||||
fi
|
||||
os_filename="$1"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user