fix shellcheck, change error message slightly

This commit is contained in:
Ryan Mulligan 2018-03-22 06:50:54 -07:00
parent 4e6525addd
commit b637ec8fb4

2
up.sh
View File

@ -133,7 +133,7 @@ then
error_exit "Derivation contains buildPerlPackage."
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
grep "$OLD_VERSION" "$DERIVATION_FILE" || error_exit "Old version not present in master derivation file."