Polished hardlink test

This commit is contained in:
Thomas Schmitt 2011-06-27 16:55:37 +00:00
parent 966ffe7e66
commit 2027441330
1 changed files with 7 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export failure=0
export next_is_xorriso=0
export next_is_rc=0
export bad=0
export report_about="-report_about UPDATE"
config_by_var() {
# This is called once before option interpretation, and once for each
@ -100,8 +100,11 @@ do
elif test x"$i" = x"-xorriso"
then
next_is_xorriso=1
elif test x"$i" = x"-v"
then
report_about="-report_about ALL"
else
echo "Usage: $0 [-rc FILE] [-keep] [-cleanup] [-xorriso PATH]" >&2
echo "Usage: $0 [-rc FILE] [-keep] [-cleanup] [-xorriso PATH] [-v]" >&2
exit 2
fi
done
@ -144,6 +147,7 @@ ls -l "$on_disk"/*
echo "=== Producing simple image" >&2
"$xorriso" \
$report_about \
-version \
-for_backup \
-padding 0 \
@ -153,6 +157,7 @@ echo "=== Producing simple image" >&2
echo "=== Copying from image to temporary disk tree" >&2
"$xorriso" \
$report_about \
-for_backup \
-indev "$image_file" \
-osirrox on \