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
|
# We can't preserve hardlinks because they may have been
|
||||||
# introduced by store optimization, which might break things
|
# introduced by store optimization, which might break things
|
||||||
# in the build.
|
# in the build.
|
||||||
cp -pr --reflink=auto "$fn" "$(stripHash "$fn")"
|
cp -pr --reflink=auto -- "$fn" "$(stripHash "$fn")"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user