aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-29 20:51:43 +0000
committerJohn Ankarström <john@ankarstrom.se>2021-01-29 20:51:43 +0000
commit6d0164cac30774f12a8f6ab6d5db3901f8d8e615 (patch)
tree38c093de01c16ec09e845d624586b4f831adcbcb
parent4c9e15e5462e2baf1bb392569539b6a0adca7369 (diff)
downloadem-6d0164cac30774f12a8f6ab6d5db3901f8d8e615.tar.gz
Don't set linktext environment variable if already set
-rwxr-xr-xem2
1 files changed, 1 insertions, 1 deletions
diff --git a/em b/em
index be290f7..f2118a3 100755
--- a/em
+++ b/em
@@ -10,7 +10,7 @@ if(~ $#* 0){
if not
file=$1
-linktext=link
+if(~ $#linktext 0) linktext=link
hrefs=`'
'{aux/emcollect $file}
for(href in $hrefs){