Now it should be clear how to use it...

SVN revision: 26349
This commit is contained in:
Miculcy Brian 2006-10-05 08:34:37 +00:00
parent 276b787255
commit 30be4a6602
1 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,11 @@
# Don't use this on module.eaps, as the icon ends up in the wrong place.
WD=`pwd`
FILENAME=`basename $@ .eap`
# small hack to avoid people using *.eap and don't know what to do...
if [ ! "$i" == "*.eap" ]; then
FILENAME=`basename '$1' .eap`
fi
if [ -e "$FILENAME.eap" ]; then
rm -fr /tmp/convert.eap/$FILENAME
@ -83,5 +87,7 @@ if [ -e "$FILENAME.eap" ]; then
cd $WD >/dev/null
rm -fr /tmp/convert.eap/$FILENAME
else
echo "Not a .eap file."
echo -e "\nExample:"
echo "cd ~/.e/e/applications/all/"
echo -e "$0 firefox.eap\n"
fi