Skip to content
Snippets Groups Projects
Commit 0441d9e4 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

fix mtime for symlinks

parent 295f542c
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,9 @@ for FILE in "${LATEST_VERSION}"/*; do
sed "s/-${LATEST_VERSION:1}//" "${FILE}" > "${DEST}"
touch --no-create --reference="${FILE}" "${DEST}"
else
FILE="${FILE##*/}"
ln -s "${FILE}" "${DEST}"
SYMLINK="${FILE##*/}"
ln -s "${SYMLINK}" "${DEST}"
touch --no-create --reference="${FILE}" --no-dereference "${DEST}"
fi
fi
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment