summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-06 22:55:44 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-06 22:55:44 -0700
commite3ccb4d3b128d300699fde001e4b36fa208d7f16 (patch)
treef060499abe3f3cd8960ecdb9bdca62dc1f42318d
parentb86f69fc3d40bc9c9b71ee8608701f47d197bd4c (diff)
downloadnasmbuild-e3ccb4d3b128d300699fde001e4b36fa208d7f16.tar.gz
nasmbuild-e3ccb4d3b128d300699fde001e4b36fa208d7f16.tar.xz
nasmbuild-e3ccb4d3b128d300699fde001e4b36fa208d7f16.zip
Remove existing git-rel directory
-rwxr-xr-xbuildall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildall.sh b/buildall.sh
index 1c02e9e..94eb8ab 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -222,6 +222,7 @@ fi
nasm-0.99.0[5-9]|nasm-0.99.[1-9]*|nasm-[1-9]*)
rel_version=$(echo "$tag" | sed -e 's/^nasm-//')
if [ ! -d "$reldir"/"$rel_version" ]; then
+ rm -rf git-rel
git clone -s -l -n git git-rel
( cd git-rel && git checkout "$tag" )
tagref=$(cd git-rel && git rev-parse "$tag")