diff options
author | Shireesh Anjal <shireesh@gluster.com> | 2011-07-30 20:06:14 +0530 |
---|---|---|
committer | Shireesh Anjal <shireesh@gluster.com> | 2011-07-30 20:06:14 +0530 |
commit | ea6099045f52664f558651fe721cb0ffade9d186 (patch) | |
tree | 35db86b3d847de7a7d1e2ba66e0afc978710ce8c | |
parent | bf7cf639e0a85189c544652234e608329815655a (diff) | |
parent | 4b601688b66d365cc02b3684a9e66b5e0b3eb2da (diff) |
Merge branch 'work'
Conflicts:
build/package-scripts.sh
-rwxr-xr-x | build/package-scripts.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build/package-scripts.sh b/build/package-scripts.sh index 0429b866..0d704edb 100755 --- a/build/package-scripts.sh +++ b/build/package-scripts.sh @@ -1,12 +1,13 @@ -DIR_NAME=gmg-scripts -TAR_NAME=${DIR_NAME}.tar +ROOT_DIR=glustermg-1.0.0 +DIR_NAME=${ROOT_DIR}/gmg-scripts +TAR_NAME=${ROOT_DIR}.tar prepare-script-dir() { if [ -d ${DIR_NAME} ]; then rm -rf ${DIR_NAME} fi - mkdir ${DIR_NAME} + mkdir -p ${DIR_NAME} } get-scripts() @@ -25,7 +26,7 @@ prepare-script-dir get-scripts /bin/rm -rf ${TAR_NAME} ${TAR_NAME}.gz -tar cvf ${TAR_NAME} ${DIR_NAME} +tar cvf ${TAR_NAME} ${ROOT_DIR} gzip ${TAR_NAME} echo "Done!" |