  		
  		if [ $PACKAGE == 1 ]; then
  			# Create tar
-@@ -460,7 +462,7 @@
+@@ -457,7 +459,7 @@
  			cd "$STAGEDIR"
  			tar -cjf "$DISTDIR/Zotero-${VERSION}_linux-$arch.tar.bz2" "Zotero_linux-$arch"
  		fi

 	
 	if [ -z "$VERSION" ]; then
 		VERSION="$DEFAULT_VERSION_PREFIX$REV"
@@ -419,20 +419,21 @@
 
 # Linux
 if [ $BUILD_LINUX == 1 ]; then


Index: zotero-standalone-build/build.sh
===================================================================
--- zotero-standalone-build.orig/build.sh	2012-11-13 18:48:27.000000000 +0100
+++ zotero-standalone-build/build.sh	2012-11-13 18:49:29.000000000 +0100
@@ -102,8 +102,8 @@
 	if [ $? != 0 ]; then
 		exit
