208->209 upgrade returns error]

Re: the problem below. This is not the first time someone’s reported
this one.

Suggested patch attached. I’ve tested the theory against the case
below interactively, but not from the Makefile…

----- Forwarded message from Christopher Kolar ckolar@imsa.edu -----To: rt-users@lists.fsck.com
From: Christopher Kolar ckolar@imsa.edu
Subject: [rt-users] 208->209 upgrade returns error
X-BeenThere: rt-users@lists.fsck.com
X-Mailman-Version: 2.0beta5
List-Id: For users of RT: Request Tracker <rt-users.lists.fsck.com>

Hi everyone. I have had 2.0.8 up and running for two days and I am trying
to do the upgrade to 2.0.9 this morning. I have set up the Makefile but
when I make upgrade I get the following error message:

    mv //var/rt2/etc/config.pm //var/rt2/etc/config.pm.old && \
    chmod 000 //var/rt2/etc/config.pm.old

cp -rp ./etc/config.pm //var/rt2/etc/config.pm
/usr/bin/perl -p -i -e “
s’!!DB_TYPE!!’“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_PORT!!’”"‘g;
s’!!DB_RT_PASS!!’“mypassword “‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!’”/var/rt2/WebRT/html”‘g;
s’!!MASON_LOCAL_HTML_PATH!!’"/var/rt2/local/WebRT/html"‘g;
s’!!MASON_SESSION_PATH!!’"/var/rt2/WebRT/sessiondata"‘g;
s’!!MASON_DATA_PATH!!’"/var/rt2/WebRT/data"‘g;
s’!!RT_LOG_PATH!!’"/tmp"‘g;
s’!!RT_VERSION!!’“2.0.9”'g;
" //var/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255
[root@iti currenttt]#

I took a look around the Makefile, but I do not know enough about perl to
make good sense of that is happening. Any help would be much appreciated.

Cheers,

–chris

/////\\/////\\
Christopher G. Kolar
Coordinator of Information Technology Integration
Illinois Mathematics and Science Academy
ckolar@imsa.eduwww.imsa.edu/~ckolar
[PGP Public Key ID: 0xC6492C72]

----- End forwarded message -----

Makefile.diff (3.79 KB)