summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-26 00:20:42 +0000
committerH. Peter Anvin <hpa@zytor.com>2008-09-26 00:20:42 +0000
commit94a8fe2990e402b93018ef00e698115a4af6593e (patch)
tree6920e5238a66ace0ed3dfd9039fd004404215431
parent9497dd7a33a3bb094d04f274a890bca3f8aa5de5 (diff)
downloadnasmbuild-94a8fe2990e402b93018ef00e698115a4af6593e.tar.gz
nasmbuild-94a8fe2990e402b93018ef00e698115a4af6593e.tar.xz
nasmbuild-94a8fe2990e402b93018ef00e698115a4af6593e.zip
ln -sf doesn't do what you'd expect when the old link points to a directory
-rwxr-xr-xbuildall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildall.sh b/buildall.sh
index fa90ecd..1abc7fb 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -107,7 +107,7 @@ process_release () {
;;
*)
if update_version "$1" $web/version.inc; then
- ( cd $web && ln -sf docs/"$1" doc )
+ ( cd $web && rm -f doc && ln -s docs/"$1" doc )
fi
;;
esac