ldap/admin/src/scripts/exampleupdate.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 501cce277b697fe085e496db143163dc6244c43a
Author: Noriko Hosoi <nhosoi(a)redhat.com>
Date: Wed Sep 15 17:13:52 2010 -0700
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