728x90
반응형
#!/bin/sh
ANT_BASE="apache-ant-1.7.1"
tar xvfj $ANT_BASE-bin.tar.bz2
mv $ANT_BASE /usr/local
cd /usr/local
#remove older link
rm -f /usr/local/ant
#create symbolic link
ln -s apache-ant-1.7.1 ant
#other compilations need to be able to find ant easily, so add link below
ln -s /usr/local/ant/bin/ant /usr/local/bin/ant
728x90
반응형