unpackPhase: Handle sources starting with a hyphen
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user