at 17.09-beta 689 B view raw
1diff -Naur pakcs-1.11.4-upstream/scripts/pakcs.sh pakcs-1.11.4/scripts/pakcs.sh 2--- pakcs-1.11.4-upstream/scripts/pakcs.sh 2014-10-24 05:06:07.000000000 -0430 3+++ pakcs-1.11.4/scripts/pakcs.sh 2015-01-05 16:26:15.697982791 -0430 4@@ -16,7 +16,7 @@ 5 # use readline wrapper rlwrap if it is installed and we have tty as stdin: 6 USERLWRAP=no 7 if tty -s ; then 8- RLWRAP=`which rlwrap` 9+ RLWRAP=`type -P rlwrap` 10 if [ -x "$RLWRAP" ] ; then 11 USERLWRAP=yes 12 fi 13@@ -29,7 +29,7 @@ 14 done 15 16 if [ $USERLWRAP = yes ] ; then 17- exec rlwrap -c -f "$PAKCSHOME/tools/rlwrap" "$REPL" ${1+"$@"} 18+ exec rlwrap -a -c -f "$PAKCSHOME/tools/rlwrap" "$REPL" ${1+"$@"} 19 else 20 exec "$REPL" ${1+"$@"} 21 fi