summaryrefslogtreecommitdiff
path: root/Build/source/utils/dialog/dialog-1.1-20100428/samples/dselect
blob: 22995b4e9fd43e1ece101c3468306372995cd952 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# $Id: dselect,v 1.6 2010/01/13 10:20:03 tom Exp $

. ./setup-vars

exec 3>&1
RESULT=`$DIALOG --title "Please choose a directory" "$@" --dselect $HOME/ 14 48 2>&1 1>&3`
retval=$?
exec 3>&-

. ./report-string