[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texlive-bin] 01/02: fix luajittex.sh - but we will not use it



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texlive-bin.

commit 1668d942ae510fc706f34911fdda69a5494e51c9
Author: Norbert Preining <norbert@preining.info>
Date:   Fri May 30 18:03:06 2014 +0900

    fix luajittex.sh - but we will not use it
---
 debian/luajittex.sh | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/debian/luajittex.sh b/debian/luajittex.sh
index d6910df..2254e8e 100644
--- a/debian/luajittex.sh
+++ b/debian/luajittex.sh
@@ -1,13 +1,26 @@
 #!/bin/sh
 
-# we need to parse the comman dline arguments,
-# pull out
-#	-jobname=<foobar>
-# and touch
-#	<foobar>.fmt
-#	<foobar>.log
+jobname=""
+while [ -n "$1" ] ; do
+  case "$1" in
+    -jobname=*) 
+	jobname=`echo "$1" | sed -e 's/^-jobname=//'`
+	break
+	;;
+    *) shift ;;
+  esac
+done
+
+if [ -z "$jobname" ] ; then
+  jobname=luajittex
+fi
+
+touch $jobname.log
+touch $jobname.fmt
 
 echo "luajittex is not supported on this architecture!" >&2
+echo "Generating fake $jobname.fmt and $jobname.log." >&2
+
 
 exit 0
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texlive-bin.git


Reply to: