1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-09 12:47:49 +02:00

Export the file copy back to a bash file

This commit is contained in:
Dlurak 2024-01-02 20:54:59 +01:00
parent 7968a264aa
commit cbe9c1ee81

View File

@ -1,6 +1,5 @@
echo "copy licenses"
echo "$1"
mkdir $1/raw -p
mkdir _site/raw -p
for file in _licenses/*.txt; do cp "$file" "$1/raw/$(basename "$file" .txt)"; done
for file in _licenses/*.txt; do cp "$file" "_site/raw/$(basename "$file" .txt)"; done