Don't remove original ${TEMPLATE}!

This commit is contained in:
Laurence Withers 2006-07-24 14:31:30 +01:00
parent 587c5f75ae
commit 744df95456
1 changed files with 0 additions and 5 deletions

View File

@ -43,11 +43,6 @@ HEADER_NAME="$1"; shift
echo "Copying ${TEMPLATE} directory..." echo "Copying ${TEMPLATE} directory..."
do_cmd cp -rp "${TEMPLATE}" "${DEST_DIR}" || exit 1 do_cmd cp -rp "${TEMPLATE}" "${DEST_DIR}" || exit 1
cd "${DEST_DIR}" cd "${DEST_DIR}"
if [ -d "${TEMPLATE}" ]
then
mv "${TEMPLATE}" "${P}"
cd "${P}"
fi
print_success "Done: $(pwd)" print_success "Done: $(pwd)"