Path depth
This commit is contained in:
parent
8f18254876
commit
bb7a637151
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue