Skip to content

Commit f83b6e1

Browse files
committedJan 25, 2018
unpackPhase: Handle sources starting with a hyphen
1 parent bf87e56 commit f83b6e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pkgs/stdenv/generic/setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ _defaultUnpack() {
769769
# We can't preserve hardlinks because they may have been
770770
# introduced by store optimization, which might break things
771771
# in the build.
772-
cp -pr --reflink=auto "$fn" "$(stripHash "$fn")"
772+
cp -pr --reflink=auto -- "$fn" "$(stripHash "$fn")"
773773

774774
else
775775

0 commit comments

Comments
 (0)
Please sign in to comment.