summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xremote/setup_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target
index 992390a9..85ab6fe8 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -241,7 +241,7 @@ local TOOL_STR="$TOOL_STR post_process_target:"
#move systemd files from /lib to /etc/lib
pinfo "move systemd files from /lib/systemd to /etc/systemd"
-if [ -d "${TARGET_BUILD_DIR}/lib" ]; then
+if [ -d "${TARGET_BUILD_DIR}/lib/systemd" ]; then
cd "${TARGET_BUILD_DIR}/lib"
tarcopy "systemd" "${TARGET_BUILD_DIR}/etc"
cd - &> /dev/null