Ohad Basan has uploaded a new change for review. Change subject: packaging: use $0 instead of hardcoding script name when calling engine-upgrade ......................................................................
packaging: use $0 instead of hardcoding script name when calling engine-upgrade This patch solves confusing message being displayed by engine-upgrade if it's being called by a softlink. when the script displayed which filename is obsolete, it will display the correct name Change-Id: Idb1b517a1f5126161bffaf4d3efcfc0fabfa443a Signed-off-by: Ohad Basan <oba...@redhat.com> --- M packaging/bin/engine-upgrade.sh 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/87/18787/1 diff --git a/packaging/bin/engine-upgrade.sh b/packaging/bin/engine-upgrade.sh index e617474..4ca6ad5 100755 --- a/packaging/bin/engine-upgrade.sh +++ b/packaging/bin/engine-upgrade.sh @@ -1,7 +1,7 @@ #!/bin/sh cat >&2 <<__EOF__ -engine-upgrade is obsoleted by engine-setup. +${basename $0} is obsoleted by engine-setup. please run engine-setup for upgrading product or update settings. __EOF__ -- To view, visit http://gerrit.ovirt.org/18787 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idb1b517a1f5126161bffaf4d3efcfc0fabfa443a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ohad Basan <oba...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches