summary refs log tree commit diff
path: root/pkgs/common-updater
diff options
context:
space:
mode:
authorTim Steinbach <tim@nequissimus.com>2019-05-06 08:47:41 -0400
committerTim Steinbach <tim@nequissimus.com>2019-05-06 08:49:11 -0400
commitc2c4cc683f6446ebd503db9ef25b20be97ba49b2 (patch)
treee7bd1760480090fd6126195ed211264bdeb04acd /pkgs/common-updater
parente3bee64f78ceb721938e7d16ce87ad66c5a3f441 (diff)
downloadnixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.tar
nixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.tar.gz
nixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.tar.bz2
nixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.tar.lz
nixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.tar.xz
nixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.tar.zst
nixpkgs-c2c4cc683f6446ebd503db9ef25b20be97ba49b2.zip
common-updater: Fix syntax
Missing space before closing ] in if statement caused syntax errors
Diffstat (limited to 'pkgs/common-updater')
-rwxr-xr-xpkgs/common-updater/scripts/update-source-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/common-updater/scripts/update-source-version b/pkgs/common-updater/scripts/update-source-version
index 2d0c16aa2f4..bc2c68feaea 100755
--- a/pkgs/common-updater/scripts/update-source-version
+++ b/pkgs/common-updater/scripts/update-source-version
@@ -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