forked from enlightenment/enlightenment
Now it should be clear how to use it...
SVN revision: 26349
This commit is contained in:
parent
276b787255
commit
30be4a6602
|
@ -8,7 +8,11 @@
|
||||||
# Don't use this on module.eaps, as the icon ends up in the wrong place.
|
# Don't use this on module.eaps, as the icon ends up in the wrong place.
|
||||||
|
|
||||||
WD=`pwd`
|
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
|
if [ -e "$FILENAME.eap" ]; then
|
||||||
rm -fr /tmp/convert.eap/$FILENAME
|
rm -fr /tmp/convert.eap/$FILENAME
|
||||||
|
@ -83,5 +87,7 @@ if [ -e "$FILENAME.eap" ]; then
|
||||||
cd $WD >/dev/null
|
cd $WD >/dev/null
|
||||||
rm -fr /tmp/convert.eap/$FILENAME
|
rm -fr /tmp/convert.eap/$FILENAME
|
||||||
else
|
else
|
||||||
echo "Not a .eap file."
|
echo -e "\nExample:"
|
||||||
|
echo "cd ~/.e/e/applications/all/"
|
||||||
|
echo -e "$0 firefox.eap\n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue