mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-18 00:41:49 +03:00
fix shellcheck, change error message slightly
This commit is contained in:
parent
4e6525addd
commit
b637ec8fb4
2
up.sh
2
up.sh
@ -133,7 +133,7 @@ then
|
|||||||
error_exit "Derivation contains buildPerlPackage."
|
error_exit "Derivation contains buildPerlPackage."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$("$SCRIPT_DIR"/check-attrpath-version.sh "$ATTR_PATH" "$NEW_VERSION") || error_exit "$ATTR_PATH version not compatible with $NEW_VERSION"
|
"$SCRIPT_DIR"/check-attrpath-version.sh "$ATTR_PATH" "$NEW_VERSION" || error_exit "Version in attr path $ATTR_PATH not compatible with $NEW_VERSION"
|
||||||
|
|
||||||
# Make sure it hasn't been updated on master
|
# Make sure it hasn't been updated on master
|
||||||
grep "$OLD_VERSION" "$DERIVATION_FILE" || error_exit "Old version not present in master derivation file."
|
grep "$OLD_VERSION" "$DERIVATION_FILE" || error_exit "Old version not present in master derivation file."
|
||||||
|
Loading…
Reference in New Issue
Block a user