HomeFreeBSD

Various zimport.sh fixes

Description

Various zimport.sh fixes

  1. $SPLSRC and $SRCDIR should be changed to $SRC_DIR. These are vestiges of an earlier version of the script and were missed when it was updated. Additionally ensure the directory is created.
  1. The 'fail' function should take an integer argument for the error code to return. Otherwise 0 (success) will be mistakenly returned and errors will we incorrectly suppressed. The error code should be meaningful enough to determine where the script failed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Apr 16 2014, 11:06 PM
Parents
rGb066274a773b: Report atime and relatime as the property's actual value.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe0b8f6290216: Various zimport.sh fixes (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Apr 17 2014, 4:30 PM