changeset 218:849e6dee3485

Rewind it to use $2 instead of "serial" (getval())
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 13 Jun 2016 08:36:49 +0859
parents 567cf06fd4d7
children e2dea2f63a69
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Mon Jun 13 00:42:00 2016 +0859
+++ b/s4-funcs.sh	Mon Jun 13 08:36:49 2016 +0859
@@ -531,7 +531,7 @@
     stamp|datetime)
       date "+%F %T" ;;
     serial)
-      (s=`getpar serial`
+      (s=`getpar $2`
        if [ -n "$s" ]; then echo $s; else echo "`date +%s`x$$"; fi) ;;
     *)
       getpar "$2" "$3";;

yatex.org