summaryrefslogtreecommitdiff
path: root/net/tinyfugue/files/patch-ac
blob: a2917af999d2f787cf23932fa5311d286c1c768f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- unix/tfconfig.orig	Sat Mar  6 16:43:28 1999
+++ unix/tfconfig	Sun Sep 19 19:03:12 1999
@@ -168,19 +168,14 @@
 # The cd;pwd is needed to normalize the directory name in case of links, etc.
 
 DIR1=`echo $TF      | sed 's;/[^/]*$;;'`
-DIR1=`cd $DIR1 && pwd`
 DIR2=`echo $LIBDIR  | sed 's;/[^/]*$;;'`
-DIR2=`cd $DIR2 && pwd`
 DIR3=`echo $SYMLINK | sed 's;/[^/]*$;;'`
-DIR3=`cd $DIR3 && pwd`
 
 if [ -z "$DIR1" ] || [ -z "$DIR2" ] || [ -z "$DIR3" ]; then
     echo "Error in directory."
     exit 1;
 fi
 
-DIR1=`cd $DIR1 && pwd || { echo "Error in directory $DIR1."; false; }`
-
 BUILDTREE=`cd .. && pwd`
 if echo "${DIR1}/" | egrep "^${BUILDTREE}/" >/dev/null 2>&1 ||
    echo "${DIR2}/" | egrep "^${BUILDTREE}/" >/dev/null 2>&1 ||
@@ -223,17 +218,17 @@
 echo
 
 echo 'To change these locations type "n" now and edit the unix/Config file.'
-while [ -z "$ans" ]; do
-    echo 'Continue? (y/n)'
-    read ans;
-    case "$ans" in
-    y|Y)  break ;;
-    n|N)  exit 1 ;;
-    *)    ans=
-          echo 'Please answer "y" or "n".'
-          ;;
-    esac
-done
+# while [ -z "$ans" ]; do
+#    echo 'Continue? (y/n)'
+#    read ans;
+#    case "$ans" in
+#    y|Y)  break ;;
+#    n|N)  exit 1 ;;
+#    *)    ans=
+#          echo 'Please answer "y" or "n".'
+#          ;;
+#    esac
+# done
 echo; echo
 
 rm -f ../src/Makefile ${AOUT}