Permalink
Browse files

Make sure packaging directory exists.

  • Loading branch information...
1 parent f426aee commit 83150b7872d09486b72aa35f9cabbb5b6f03a052 @invalid-email-address invalid-email-address committed Feb 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 agent/src/packages/rpm/spec/hms-agent.spec
@@ -84,6 +84,7 @@ mkdir -p ${RPM_BUILD_DIR}%{_conf_dir}
mkdir -p ${RPM_BUILD_DIR}%{_log_dir}
mkdir -p ${RPM_BUILD_DIR}%{_conf_dir}
mkdir -p ${RPM_BUILD_DIR}/etc/init.d
+mkdir -p ${RPM_BUILD_DIR}/../BUILDROOT
cp ${RPM_BUILD_DIR}/../../../../src/packages/rpm/init.d/hms-agent ${RPM_BUILD_DIR}/etc/init.d/hms-agent
chmod 0755 ${RPM_BUILD_DIR}/etc/init.d/hms-agent

0 comments on commit 83150b7

Please sign in to comment.