File: make_arcs

package info (click to toggle)
dqs 3.1.8-9
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 8,908 kB
  • ctags: 9,887
  • sloc: ansic: 87,447; sh: 2,952; makefile: 442; yacc: 247; lex: 94; perl: 83; csh: 51; fortran: 24; awk: 16
file content (35 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download | duplicates (3)
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
#!/bin/sh 

arc=`UTIL/config.guess`
myhostname=`hostname`
echo "myhostname = $myhostname"

if [ ! -d "ARCS" ]
    then 
    echo "Making the directory ARCS"
    mkdir ARCS
    cd ARCS
    pwd
    echo "Linking ../SRC SRC"
    ln -s ../SRC SRC
    echo "Linking ../UTIL UTIL"
    ln -s ../UTIL UTIL
    else
    cd ARCS
    pwd
  fi

  if [ ! -d `../UTIL/config.guess` ]
    then
    mkdir `../UTIL/config.guess`
  fi

  cd `../UTIL/config.guess`
  cp ../SRC/Makefile .

pwd
$@