Hi Alesh,
Alesh Slovak wrote (Thursday 01 July 2010):
If the very last file that iscan's hook script checks for in DESTDIR
doesn't exist, the `test -e` call fails and the script ends with a failed
status even though nothing really went wrong. A simple `exit 0` on the
last line fixes this.
It's actually not that simple. Running the iscan hook script with "set -e"
means that the script will abort with an error status as soon as the "test -e"
fails for any file in the clean-files list. Adding "exit 0" at the end of the
script won't fix that, because the script will never reach that point anyway.