From 7006105990993e39e8a248d1203eebc0be42ef1c Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Wed, 16 Jul 2008 11:50:28 +0200 Subject: [PATCH] Remove support for "guile-tools --scriptsdir". * guile-tools.in: Delete "--scriptsdir" handling. (help): Update. Signed-off-by: Thien-Thi Nguyen --- ChangeLog | 7 +++++++ guile-tools.in | 11 +---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index da26cbf..0b58be4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-16 Thien-Thi Nguyen + + Remove support for "guile-tools --scriptsdir". + + * guile-tools.in: Delete "--scriptsdir" handling. + (help): Update. + 2008-07-06 Ludovic Courtès * configure.in: Update to Autoconf 2.61. diff --git a/guile-tools.in b/guile-tools.in index a4db08f..50444f0 100644 --- a/guile-tools.in +++ b/guile-tools.in @@ -34,7 +34,6 @@ Usage: guile-tools --version If PROGRAM is "list" or omitted, display contents of scripts dir, otherwise PROGRAM is run w/ ARGS. Options (only one of which may be used at a time): - --scriptsdir DIR -- Look in DIR for scripts --guileversion VERS -- Look in $pkgdatadir/VERS/scripts for scripts --source -- Display PROGRAM source (ignore ARGS) to stdout @@ -53,10 +52,6 @@ if [ -d "$mydir/scripts" -a -f "$mydir/scripts/Makefile.am" ] ; then default_scriptsdir=`(cd $mydir/scripts ; pwd)` fi -# option processing -- basically, you can override either the script dir -# completely, or just the guile version. we choose implementation simplicity -# over orthogonality. - case x"$1" in x--version) echo $0 $guileversion @@ -68,11 +63,7 @@ x--help) ;; esac -if [ x"$1" = x--scriptsdir ] ; then - user_scriptsdir=$2 - shift - shift -elif [ x"$1" = x--guileversion ] ; then +if [ x"$1" = x--guileversion ] ; then user_scriptsdir=$pkgdatadir/$2/scripts shift shift -- 1.5.3.5