Use indentation consistenly

This commit is contained in:
Carles Pina i Estany 2021-10-25 23:03:05 +01:00
parent d4122690a7
commit af82da7f2b

View File

@ -44,8 +44,8 @@ echo "[+] Checking if $TARGET_DIRECTORY exist in git repo $DESTINATION_REPOSITOR
# Remove contents of target directory and create a new empty one
if [ -d "$CLONE_DIR/$TARGET_DIRECTORY/" ]
then
echo "[+] Deleting files from $TARGET_DIRECTORY in git repo $DESTINATION_REPOSITORY_NAME"
rm -R "${CLONE_DIR:?}/$TARGET_DIRECTORY/"
echo "[+] Deleting files from $TARGET_DIRECTORY in git repo $DESTINATION_REPOSITORY_NAME"
rm -R "${CLONE_DIR:?}/$TARGET_DIRECTORY/"
fi
echo "[+] Creating $TARGET_DIRECTORY if doesnt already exist"
mkdir -p "$CLONE_DIR/$TARGET_DIRECTORY"