From 501cce277b697fe085e496db143163dc6244c43a Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Oct 12 2010 17:19:36 +0000 Subject: Bug 586966 - Sample update script has syntax errors https://bugzilla.redhat.com/show_bug.cgi?id=586966 Description: replacing the perl syntax with the corresponding shell syntax. --- diff --git a/ldap/admin/src/scripts/exampleupdate.sh b/ldap/admin/src/scripts/exampleupdate.sh index dae2e4c..a12c818 100644 --- a/ldap/admin/src/scripts/exampleupdate.sh +++ b/ldap/admin/src/scripts/exampleupdate.sh @@ -38,11 +38,11 @@ # # There are several environment variables passed in: -my $PRE_STAGE = "pre"; -my $PREINST_STAGE = "preinst"; -my $RUNINST_STAGE = "runinst"; -my $POSTINST_STAGE = "postinst"; -my $POST_STAGE = "post"; +PRE_STAGE="pre"; +PREINST_STAGE="preinst"; +RUNINST_STAGE="runinst"; +POSTINST_STAGE="postinst"; +POST_STAGE="post"; # $DS_UPDATE_STAGE - the current stage of the update - one of # pre - called at the beginning of the update