summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy (renamed from deploy.sh)3
1 files changed, 1 insertions, 2 deletions
diff --git a/deploy.sh b/deploy
index a934c19..0c147af 100755
--- a/deploy.sh
+++ b/deploy
@@ -7,7 +7,6 @@ cd $(dirname $0)
find -type d ! \( -path "*.git" -prune \) -print0 | xargs -0 -I '{}' mkdir -p $DEPLOY_DIR{}
for file in $(find ! \( -path "*.git" -prune \) -type f ! -path "./deploy.sh" ! -path "./README")
do
- rm -f $DEPLOY_DIR$file
- ln -s -r $file $DEPLOY_DIR$(dirname $file)
+ ln -snf $PWD/$file $DEPLOY_DIR$(dirname $file)
done