Skip to content

Instantly share code, notes, and snippets.

@flibidi67
flibidi67 / my-vendor.sh
Created Sep 11, 2020
Script for handle two vendor directory
View my-vendor.sh
#!/bin/bash
MY_VENDOR_DIRECTORY=my-vendor
VENDOR_DIRECTORY=vendor
if [ ! -d "$MY_VENDOR_DIRECTORY" ]
then
echo "Le dossier $MY_VENDOR_DIRECTORY n'existe pas : on le crée."
mkdir $MY_VENDOR_DIRECTORY
else