Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions steps/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ _get_files() {
for f in ${fs}; do
# Archive symlinks to directories as symlinks
echo "${prefix}/${f}"
if [ -d "${f}" ] && ! [ -h "${f}" ]; then
cd "${f}"
if [ -d "./${f}" ] && ! [ -h "./${f}" ]; then
cd "./${f}"
_get_files "${prefix}/${f}"
cd ..
fi
Expand All @@ -54,9 +54,9 @@ reset_timestamp() {
fs="${fs} $(echo .[0-z]*)"
fi
for f in ${fs}; do
touch -h -t 197001010000.00 "${f}"
if [ -d "${f}" ]; then
cd "${f}"
touch -h -t 197001010000.00 "./${f}"
if [ -d "./${f}" ]; then
cd "./${f}"
reset_timestamp
cd ..
fi
Expand Down
Loading