diff --git a/rootfs/root/docker/setup/03-files.sh b/rootfs/root/docker/setup/03-files.sh index d55ef7d..de1025f 100755 --- a/rootfs/root/docker/setup/03-files.sh +++ b/rootfs/root/docker/setup/03-files.sh @@ -68,7 +68,7 @@ fi unset config if [ -d "/tmp/data" ]; then for data in "/tmp/data"/*; do - name="$(basename "$bin")" + name="$(basename "$data")" echo "Installing $data to /usr/local/share/template-files/data" if [ -d "$data" ]; then mkdir -p "/usr/local/share/template-files/data/$name"