Path depth

This commit is contained in:
Bob Mottram 2016-09-09 09:49:07 +01:00
parent 8f18254876
commit bb7a637151
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ function delete_blog {
function change_theme {
THEMES=()
for d in $BLOG_PATH/themes/*/ ; do
THEME_NAME=$(echo "$d" | awk -F '/' '{print $5}')
THEME_NAME=$(echo "$d" | awk -F '/' '{print $6}')
THEMES+=("$THEME_NAME")
done