1#!/bin/bash 2 3echo "[" 4THEMES=`ls 3rdparty/jquery-ui-themes-1.11.2/themes/` 5set -- $THEMES 6while [ $# -gt 0 ]; do 7echo "{" 8echo "\"theme_name\": \"$1\"," 9echo "\"theme_url\": \"3rdparty/jquiery-ui-themes-1.11.2/themes/$1/jquery-ui.css\"," 10echo "\"group\": \"Official\"," 11echo "\"active\": \"yes\"," 12echo "\"author\": \"jQuery Project\"," 13echo "\"license\": \"http://jquery.org/license\"" 14echo "}," 15 shift 16done 17echo "]" 18 19