|
Last change
on this file since 239 was
236,
checked in by jazz, 15 years ago
|
- modified my_packages/hadoop/bin/hadoop4win-init
- [BUGFIX] fix error at line 31
- modified my_packages/hbase/bin/hbase-init
- add HBASE_PID_DIR to hbase-env.sh
- modified my_packages/ant/bin/ant-init
- fix syntax error of unzip
|
-
Property svn:executable set to
*
|
|
File size:
292 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | if [ ! -f /usr/src/ant-*.zip ]; then |
|---|
| 3 | echo "Hbase tar ball not found at /usr/src/hbase-*.tar.gz!!" |
|---|
| 4 | exit |
|---|
| 5 | fi |
|---|
| 6 | |
|---|
| 7 | if [ ! -f /opt/apache-ant* ]; then |
|---|
| 8 | cd /opt/ |
|---|
| 9 | unzip /usr/src/ant-*.zip |
|---|
| 10 | ln -s /opt/apache-ant-* /opt/ant |
|---|
| 11 | echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile |
|---|
| 12 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.