forked from mirrors/nixpkgs
common-updater: Fix syntax
Missing space before closing ] in if statement caused syntax errors
This commit is contained in:
parent
e3bee64f78
commit
c2c4cc683f
|
@ -161,7 +161,7 @@ if [ -z "$newHash" ]; then
|
|||
die "Couldn't figure out new hash of '$attr.src'!"
|
||||
fi
|
||||
|
||||
if [ -z "${ignoreSameHash}"] && [ "$oldVersion" != "$newVersion" ] && [ "$oldHash" = "$newHash" ]; then
|
||||
if [ -z "${ignoreSameHash}" ] && [ "$oldVersion" != "$newVersion" ] && [ "$oldHash" = "$newHash" ]; then
|
||||
mv "$nixFile.bak" "$nixFile"
|
||||
die "Both the old and new source hashes of '$attr.src' were equivalent. Please fix the package's source URL to be dependent on '\${version}'!"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue