build broken how to get new script?

Richard G

Verified User
Joined
Jul 6, 2008
Messages
13,707
Location
Maastricht
Hello.

On one of my servers I got this error on Anacron:
Code:
etc/cron.daily/custombuild:

./build: line 18398: unexpected EOF while looking for matching `"'
./build: line 18399: syntax error: unexpected end of file

So i went looking and this line was the line before the last one:
Code:
                       elif [ "${VERSIONS}" = "1" ]; then
                                echo "${boldon}libxs
It missing a " and this should not be the end of the ./build script.
I checked with 2 other servers and they have another line at 18398 and also they have a lot of lines after this command, so on this server, due to some reason, this build script got crippled.

Is there an easy way with wget to get a new build script? Else I will copy one over from one of the other servers.
I'd rather get a fresh one from a DA server if possible.
 
Already found it, for custombuild 2.0 for example this one:
Code:
http://files6.directadmin.com/services/custombuild/2.0/custombuild/build
 
Hello,

if custombuild corrupted run this code:


Code:
cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
 
It was already fixed by getting the build only.
But the official way as you state is better/safer, so I will use those commands next time, if the issue will occur again.
And others can use it for future reference.

Thank you Alex!
 
Back
Top