728x90
반응형
#!/bin/sh
rm -rf j2-monitoring-agent-1.0.0.tar.gz
tar cvf j2-monitoring-agent-1.0.0.tar.gz j2-monitoring-agent-1.0.0
rm -rf rpmbuild/SOURCES/j2-monitoring-agent-1.0.0.tar.gz
cp j2-monitoring-agent-1.0.0.tar.gz rpmbuild/SOURCES/j2-monitoring-agent-1.0.0.tar.gz
cd ~/rpmbuild/SPECS/
rpmbuild -ba j2_monitoring.spec
cd ~/rpmbuild/RPMS/
rm -rf j2-monitoring-agent-1.0.0.tar.gz
tar cvf j2-monitoring-agent-1.0.0.tar.gz j2-monitoring-agent-1.0.0
rm -rf rpmbuild/SOURCES/j2-monitoring-agent-1.0.0.tar.gz
cp j2-monitoring-agent-1.0.0.tar.gz rpmbuild/SOURCES/j2-monitoring-agent-1.0.0.tar.gz
cd ~/rpmbuild/SPECS/
rpmbuild -ba j2_monitoring.spec
cd ~/rpmbuild/RPMS/
반응형
'엔지니어 > C++' 카테고리의 다른 글
j2-agent(/etc/init.d/) (create by sk) (0) | 2016.05.26 |
---|---|
j2-agent.spec (create by sk) (0) | 2016.05.26 |
agent client makefile 32bit (create by sk) (0) | 2016.05.26 |
agent client (create by sk) (0) | 2016.05.26 |
ddos 주노 (0) | 2016.05.26 |