home · contact · privacy
Fix silly PATH bug.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 22 Mar 2025 07:29:48 +0000 (08:29 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 22 Mar 2025 07:29:48 +0000 (08:29 +0100)
testing/scripts/setup_desktop.sh

index d939fc49adfe7d68ec82844add02755e02679964..295c8c8b7ac65df1b4c911b0a565430d95ade1be 100755 (executable)
@@ -36,9 +36,9 @@ copy_dirtree() {
            continue
        fi
        cd "${TAG_PATH}"
-        for PATH in $(find . -type f); do
-            TARGET_PATH="${TARGET_ROOT}"$(echo "${PATH}" | cut -c2-)
-            SOURCE_PATH=$(realpath "${PATH}")
+        for PATH_ in $(find . -type f); do
+            TARGET_PATH="${TARGET_ROOT}"$(echo "${PATH_}" | cut -c2-)
+            SOURCE_PATH=$(realpath "${PATH_}")
             DIRECTORY=$(dirname "${TARGET_PATH}")
             mkdir -p "${DIRECTORY}"
             cp "${SOURCE_PATH}" "${TARGET_PATH}"