Date: Mon, 29 Oct 2018 14:42:10 +0000 From: bugzilla-noreply@freebsd.org To: tcltk@FreeBSD.org Subject: [Bug 232732] build of expect in lang/expect does not install autoexpect script correctly Message-ID: <bug-232732-30738-BpAfUkyj3V@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232732-30738@https.bugs.freebsd.org/bugzilla/> References: <bug-232732-30738@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232732 --- Comment #18 from w.schwarzenfeld@utanet.at --- Added error message and --help #!/usr/local/bin/bash string=3D$@ if [ "$string" =3D=3D "" -o "--help" ]; then echo "USAGE: expect-scripts command parameters" echo "example: expect-scripts autoexpect ftp ftp.myserver.org" exit fi command=3D/usr/local/share/expect/$string if [ -e /usr/local/share/expect/$1 ]; then eval "$command" else echo "command not found or syntax-error" fi --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232732-30738-BpAfUkyj3V>