From eb7455f7176bda5aa5675adb294348cc56ec57f3 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 5 Jan 2018 16:44:28 +0100 Subject: [PATCH] - personalize: try to fix command line errors --- make/rootfs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/rootfs.mk b/make/rootfs.mk index f2e02bba..a5259438 100644 --- a/make/rootfs.mk +++ b/make/rootfs.mk @@ -198,7 +198,7 @@ get-update-info-hd1: personalize: | $(TARGET_DIR) $(call local-script,$(notdir $@),start) @LOCAL_ROOT=$(LOCAL_DIR)/root; \ - if [ $$(ls -A $$LOCAL_ROOT) ]; then \ + if [ -z "$$(ls -A $$LOCAL_ROOT)" ]; then \ cp -a -v $$LOCAL_ROOT/* $(TARGET_DIR)/; \ fi $(call local-script,$(notdir $@),stop)