diff options
author | Chad Huneycutt <chadh@gentoo.org> | 2001-08-21 23:16:02 +0000 |
---|---|---|
committer | Chad Huneycutt <chadh@gentoo.org> | 2001-08-21 23:16:02 +0000 |
commit | 5ed63dd36cba9da2d6d5065f22968b2ea30d0520 (patch) | |
tree | fffada3d16ca663df27f77ccd74679484ecf55e3 /app-editors/e3 | |
parent | added gnome-base/glibwww, gnome-base/gdk-pixbuf, moved (diff) | |
download | historical-5ed63dd36cba9da2d6d5065f22968b2ea30d0520.tar.gz historical-5ed63dd36cba9da2d6d5065f22968b2ea30d0520.tar.bz2 historical-5ed63dd36cba9da2d6d5065f22968b2ea30d0520.zip |
fixed empty arg problem. (wouldn't start with no args)
Diffstat (limited to 'app-editors/e3')
-rw-r--r-- | app-editors/e3/files/e3-1.7-r2-gentoo.diff | 18 | ||||
-rw-r--r-- | app-editors/e3/files/emacs | 12 | ||||
-rw-r--r-- | app-editors/e3/files/pico | 12 | ||||
-rw-r--r-- | app-editors/e3/files/vi | 12 |
4 files changed, 41 insertions, 13 deletions
diff --git a/app-editors/e3/files/e3-1.7-r2-gentoo.diff b/app-editors/e3/files/e3-1.7-r2-gentoo.diff index 097b63b5ee86..fe0423bf752b 100644 --- a/app-editors/e3/files/e3-1.7-r2-gentoo.diff +++ b/app-editors/e3/files/e3-1.7-r2-gentoo.diff @@ -1,6 +1,22 @@ +diff -r -C2 e3-1.7.orig/Makefile e3-1.7/Makefile +*** e3-1.7.orig/Makefile Sun Apr 22 07:40:34 2001 +--- e3-1.7/Makefile Sat Aug 18 14:25:35 2001 +*************** +*** 39,43 **** + # upx -q -q -q -k -9 e3 ; \ + # fi ; +! if which gzexe > /dev/null 2>&1 ; then gzexe e3; fi; + else + nasm $(AFLAGS) -o e3.o $(ASOURCES) -l e3.lst -D$(OS) -D$(EXMODE) +--- 39,43 ---- + # upx -q -q -q -k -9 e3 ; \ + # fi ; +! # if which gzexe > /dev/null 2>&1 ; then gzexe e3; fi; + else + nasm $(AFLAGS) -o e3.o $(ASOURCES) -l e3.lst -D$(OS) -D$(EXMODE) diff -r -C2 e3-1.7.orig/e3.asm e3-1.7/e3.asm *** e3-1.7.orig/e3.asm Sun Jul 8 12:31:25 2001 ---- e3-1.7/e3.asm Mon Aug 13 23:25:00 2001 +--- e3-1.7/e3.asm Sat Aug 18 14:25:47 2001 *************** *** 23,27 **** %define VI 8 diff --git a/app-editors/e3/files/emacs b/app-editors/e3/files/emacs index 41ced9968fdb..511e19c490cf 100644 --- a/app-editors/e3/files/emacs +++ b/app-editors/e3/files/emacs @@ -5,10 +5,14 @@ whichE3=${E3}em if [ -f ${E3} ]; then if [ -f ${whichE3} ]; then - for i in $@ - do - ${whichE3} $i - done + if [ $# -eq 0 ]; then + ${whichE3} + else + for i in $@ + do + ${whichE3} $i + done + fi else echo ${whichE3}: file does not exist fi diff --git a/app-editors/e3/files/pico b/app-editors/e3/files/pico index 4fdf2280f181..5bde480ca17c 100644 --- a/app-editors/e3/files/pico +++ b/app-editors/e3/files/pico @@ -5,10 +5,14 @@ whichE3=${E3}pi if [ -f ${E3} ]; then if [ -f ${whichE3} ]; then - for i in $@ - do - ${whichE3} $i - done + if [ $# -eq 0 ]; then + ${whichE3} + else + for i in $@ + do + ${whichE3} $i + done + fi else echo ${whichE3}: file does not exist fi diff --git a/app-editors/e3/files/vi b/app-editors/e3/files/vi index 932ba7950bea..eed53d954452 100644 --- a/app-editors/e3/files/vi +++ b/app-editors/e3/files/vi @@ -5,10 +5,14 @@ whichE3=${E3}vi if [ -f ${E3} ]; then if [ -f ${whichE3} ]; then - for i in $@ - do - ${whichE3} $i - done + if [ $# -eq 0 ]; then + ${whichE3} + else + for i in $@ + do + ${whichE3} $i + done + fi else echo ${whichE3}: file does not exist fi |