aboutsummaryrefslogtreecommitdiff
path: root/hello/prepare-svn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hello/prepare-svn.sh')
-rwxr-xr-xhello/prepare-svn.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/hello/prepare-svn.sh b/hello/prepare-svn.sh
deleted file mode 100755
index 58830ae..0000000
--- a/hello/prepare-svn.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-USAGE="$0 {copy|link} [COMMON_SRC=../common] [COMMON_DST=./common]"
-
-if test -n "$1"; then
- case "$1" in
- copy)
- CP="cp -a";
- ;;
- link)
- CP="ln -s";
- ;;
- *)
- echo "Usage: $USAGE"
- exit 1;
- ;;
- esac
-else
- CP="ln -s"
-fi
-
-if test -n "$2"; then
- COMMON_SRC="$2";
-else
- COMMON_SRC="../common";
-fi
-
-if test -n "$3"; then
- COMMON_DST="$3";
-else
- COMMON_DST="./common";
-fi
-
-##-- copy or link in common dir
-rm -rf "$COMMON_DST";
-$CP "$COMMON_SRC" "$COMMON_DST";