- mixed up python version and blender version ;-)
authorFrank van Beek <frank@iae.nl>
Mon, 10 Feb 2003 11:41:49 +0000 (11:41 +0000)
committerFrank van Beek <frank@iae.nl>
Mon, 10 Feb 2003 11:41:49 +0000 (11:41 +0000)
release/windows/specific.sh

index 314e3489f0244dc9bab7c1bee5a3bff2edbac4fa..79fe7c62ade6dfe56ced6fd3488b538b9dd5eb99 100755 (executable)
@@ -61,8 +61,10 @@ if (`test -x "$NSIS"`) then
     cd installer
     TEMPFILE=00.blender_tmp.nsi
     DISTDIR=`cygpath -m $DISTDIR`
+    SHORTVERS=`echo $VERSION | sed 's/\.//'`
     # make a installer config for this release
-    cat 00.blender.nsi | sed "s|VERSION|$VERSION|g" | sed "s|DISTDIR|$DISTDIR|g" | sed "s|SHORTVERS|$PVERS|g" > $TEMPFILE
+    cat 00.blender.nsi | sed "s|VERSION|$VERSION|g" | sed "s|DISTDIR|$DISTDIR|g" | sed "s|SHORTVERS|$SHORTVERS|g" > $TEMPFILE
+    cat 00.blender.nsi | sed "s|VERSION|$VERSION|g" | sed "s|DISTDIR|$DISTDIR|g" | sed "s|SHORTVERS|$SHORTVERS|g" | less
     "$NSIS" $TEMPFILE
     rm $TEMPFILE
 fi