diff options
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ add_file () dest="${2}" else dest="${fil##$BASEDIR}" - if [ "${dest:0:1}" != "/" ]; then + if [ "${dest}" = "${dest#/}" ]; then dest="/${dest}" fi fi |