You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesvn/doc/makecommon.sh

17 lines
196 B

#!/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