Don't remove original ${TEMPLATE}!
This commit is contained in:
parent
587c5f75ae
commit
744df95456
|
@ -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)"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue