Skip to content
Snippets Groups Projects
Commit 0b119f95 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[dev] fix make-distrib --codename

parent acc83198
No related branches found
No related tags found
No related merge requests found
...@@ -53,12 +53,6 @@ else ...@@ -53,12 +53,6 @@ else
fi fi
VERSION=$(cat VERSION)
VERSION_SAFE=${VERSION/~/-}
FRAMAC="frama-c-$VERSION_SAFE-$VERSION_CODENAME"
FRAMAC_TAR="$FRAMAC.tar"
################################################################################ ################################################################################
# Command Line # Command Line
...@@ -109,13 +103,22 @@ do ...@@ -109,13 +103,22 @@ do
CI_LINK=yes CI_LINK=yes
;; ;;
*) *)
echo "Don't known what to do with option '$1'" echo "Don't know what to do with option '$1'"
exit 1 exit 1
;; ;;
esac esac
shift shift
done done
################################################################################
# Target Names
VERSION=$(cat VERSION)
VERSION_SAFE=${VERSION/~/-}
FRAMAC="frama-c-$VERSION_SAFE-$VERSION_CODENAME"
FRAMAC_TAR="$FRAMAC.tar"
################################################################################ ################################################################################
# Check Opam file # Check Opam file
...@@ -309,5 +312,5 @@ rm -rf $HEADER_SPEC ...@@ -309,5 +312,5 @@ rm -rf $HEADER_SPEC
rm -rf $FRAMAC_TAR rm -rf $FRAMAC_TAR
rm -rf $TMP_DIR rm -rf $TMP_DIR
echo "Generated: $FRAMAC_TAR" echo "Generated: $FRAMAC_TAR.gz"
echo "----------------------------------------------------------------" echo "----------------------------------------------------------------"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment