File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -30,25 +30,11 @@ check_gtk_bin() {
3030# # Sets the variable $basedir
3131ask_basedir () {
3232 clear
33- default_dir=" ` type gnatmake 2> /dev/null| cut -d' ' -f3` "
34- default_dir=" ` dirname \" $default_dir \" 2> /dev/null` "
35-
36- if [ " $default_dir " != " " -a " $default_dir " != " ." -a " $default_dir " != " /usr/bin" ]; then
37- default_dir=" ` cd " $default_dir /.." ; pwd` "
38- cat << EOF
39-
40- GNAT has been found in $default_dir .
41- Do you want to install GtkAda there too? Hit RETURN if yes or enter
42- the name of the directory in which GtkAda should be installed:
43-
44- EOF
45- else
46- default_dir=/opt/gtkada
47- cat << EOF
33+ default_dir=/opt/gtkada
34+ cat << EOF
4835 Enter the name of the directory in which you would like to install GtkAda
4936
5037EOF
51- fi
5238
5339 while [ " $basedir " = " " ]; do
5440 printf " [$default_dir ] "
@@ -119,7 +105,7 @@ install_binaries() {
119105
120106 echo " Copying the Gtk+ binaries"
121107
122- cp -r " $gtk_bin_dir " /* " $basedir "
108+ cp -ri " $gtk_bin_dir " /* " $basedir "
123109
124110 echo " Setting up the environment"
125111 eval ` " $basedir " /bin/gtkada-env.sh --print-only`
You can’t perform that action at this time.
0 commit comments