summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-09-15 17:13:52 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-10-12 10:19:36 -0700
commit501cce277b697fe085e496db143163dc6244c43a (patch)
tree8f7df708a6053c2318f556fcba80cd1d4a7561ab
parent310c056b2f39c534701b1ee1d1ec4755d4192f70 (diff)
downloadds-501cce277b697fe085e496db143163dc6244c43a.tar.gz
ds-501cce277b697fe085e496db143163dc6244c43a.tar.xz
ds-501cce277b697fe085e496db143163dc6244c43a.zip
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.
-rw-r--r--ldap/admin/src/scripts/exampleupdate.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/ldap/admin/src/scripts/exampleupdate.sh b/ldap/admin/src/scripts/exampleupdate.sh
index dae2e4c5..a12c8181 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