Skip to content

Commit 7c82a90

Browse files
committed
Fix error in copy from working tree
Commit eacde87 introduced a bug that caused files from the working tree to be copied to the incorrect location in the tmp directory. This affected any file that was not located at the root of the working tree. Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
1 parent 3b7725c commit 7c82a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-diffall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ do
201201
if test -e "$name"
202202
then
203203
mkdir -p "$tmp/$right_dir/$(dirname "$name")"
204-
cp "$name" "$tmp/$right_dir"
204+
cp "$name" "$tmp/$right_dir/$name"
205205
fi
206206
fi
207207
done < "$tmp/filelist"

0 commit comments

Comments
 (0)