summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions b/functions
index 418bf6f..5a58084 100644
--- a/functions
+++ b/functions
@@ -31,7 +31,9 @@ function inlist()
function update_hdlist()
{
repository="$1"
- /usr/bin/genhdlist2 -v --versioned --allow-empty-media --file-deps "$repository/../../media_info/file-deps" "$repository"
+ fdeps="$repository/../../media_info/file-deps"
+ test -f "$fdeps" && ofdeps="--file-deps $fdeps"
+ /usr/bin/genhdlist2 -v --versioned --allow-empty-media $ofdeps "$repository"
}
function update_common_MD5SUM()