[go: up one dir, main page]

File: makecommon.sh

package info (click to toggle)
kdesvn 0.11.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,300 kB
  • ctags: 2,540
  • sloc: cpp: 23,326; sh: 104; python: 42; makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 196 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if [ "x$1" = "x" ]; then
   echo "No source"
   exit 0
fi
if [ "x$2" = "x" ]; then
   echo "No target"
   exit 0
fi

if [ ! -h $1 ]; then
 echo "linking $2 -> $1"
 ln -fs "$2" "$1"
fi