sync-view.sh: move comment to right place
This commit is contained in:
@@ -207,6 +207,10 @@ parse_opts() {
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
'-c'|'--config')
|
'-c'|'--config')
|
||||||
|
# The configuration file contains the variable SOURCEDIR, which will allow
|
||||||
|
# to find the relative path of TARGET in backup tree.
|
||||||
|
# it may also contain BACKUPDIR variable, which the local root of backup
|
||||||
|
# tree.
|
||||||
tmp_config="$2"
|
tmp_config="$2"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
@@ -245,11 +249,7 @@ parse_opts() {
|
|||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
# Now check remaining arguments (configuration file and searched file).
|
# Now check remaining argument (searched file).
|
||||||
# The configuration file contains the variable SOURCEDIR, which will allow
|
|
||||||
# to find the relative path of TARGET in backup tree.
|
|
||||||
# it may also contain BACKUPDIR variable, which the local root of backup
|
|
||||||
# tree.
|
|
||||||
if (( $# != 1 )); then
|
if (( $# != 1 )); then
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user