Changeset 241 for hadoop4win-setup/my_packages/ant/bin
- Timestamp:
- Apr 1, 2011, 10:29:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop4win-setup/my_packages/ant/bin/ant-init
r236 r241 1 1 #!/bin/bash 2 2 if [ ! -f /usr/src/ant-*.zip ]; then 3 echo " Hbase tar ball not found at /usr/src/hbase-*.tar.gz!!"3 echo "Ant zip file is not found at /usr/src/ant-*.zip!!" 4 4 exit 5 5 fi 6 6 7 7 if [ ! -f /opt/apache-ant* ]; then 8 cd /opt/ 9 unzip /usr/src/ant-*.zip 10 ln -s /opt/apache-ant-* /opt/ant 8 unzip /usr/src/ant-*.zip -d /opt 9 mv /opt/apache-ant-* /opt/ant 11 10 echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile 12 11 fi
Note: See TracChangeset
for help on using the changeset viewer.