Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-icon.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2358 by niro, Tue Aug 25 09:51:46 2015 UTC revision 2361 by niro, Tue Aug 25 10:04:18 2015 UTC
# Line 11  ICON_INFO_PATH="${MCORE_CONFIG_PATH}/ico Line 11  ICON_INFO_PATH="${MCORE_CONFIG_PATH}/ico
11  ICON_INFO_SUFFIX="@@ICON_INFO_SUFFIX@@"  ICON_INFO_SUFFIX="@@ICON_INFO_SUFFIX@@"
12  ICON_SUFFIX="@@ICON_SUFFIX@@"  ICON_SUFFIX="@@ICON_SUFFIX@@"
13    
14    die() { echo "ERROR: $@"; exit 1; }
15    
16  # very basic getops  # very basic getops
17  for i in $*  for i in $*
18  do  do
19   case $1 in   case $1 in
20   --resouce|-r) shift; icon_resource="$1" ;;   --resource|-r) shift; icon_resource="$1" ;;
21   --name|-n) shift; argv_name="$1" ;;   --name|-n) shift; argv_name="$1" ;;
22   --command|-c) shift; argv_command="$1" ;;   --command|-c) shift; argv_command="$1" ;;
23   --icon|-i) shift; argv_icon="$1" ;;   --icon|-i) shift; argv_icon="$1" ;;

Legend:
Removed from v.2358  
changed lines
  Added in v.2361