unpackPhase: Handle sources starting with a hyphen
This commit is contained in:
parent
bf87e56cda
commit
f83b6e1130
@ -769,7 +769,7 @@ _defaultUnpack() {
|
||||
# We can't preserve hardlinks because they may have been
|
||||
# introduced by store optimization, which might break things
|
||||
# in the build.
|
||||
cp -pr --reflink=auto "$fn" "$(stripHash "$fn")"
|
||||
cp -pr --reflink=auto -- "$fn" "$(stripHash "$fn")"
|
||||
|
||||
else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user