Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

22 righe
461 B

2 anni fa
#!/bin/sh
#set -x
if [ $# -lt 2 ]; then
echo
echo Usage: ./create.sh hello-world \"Hello World\"
echo
echo The first hello-world is your theme id. A new directory will be created based
echo on the theme id.
echo
echo The second \"Hello World\" is the theme\'s display name. The quotation marks are
echo only needed because there is a space in the display name.
exit 127
fi
ant -Dtheme.name=$1 -Dtheme.display.name=\"$2\" create
#ant deploy
exit 0