initialize uninitialized variable
[ardour.git] / tools / linux_packaging / build
index 6ed2e13941d7c4cec9bbe00fe5ec748fe274314e..cee48ced28971fa9f861cb96662585cbaa0edab4 100755 (executable)
@@ -80,6 +80,7 @@ while [ $# -gt 0 ] ; do
                major_version=""
                shift ;;
        --public)
+               WITH_HARRISON_LV2=1 ;
                WITH_NLS=1 ;
                WITH_LADSPA=;
                STRIP=all ;
@@ -393,6 +394,9 @@ done
 # Lua Scripts Files
 # got to be careful with names here
 for x in $BUILD_ROOT/../scripts/*.lua ; do
+         if test "${x:0:1}" = "_"; then
+                       continue;
+               fi
     cp "$x" $LuaScripts
 done
 
@@ -607,12 +611,7 @@ cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-for colorfile in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
-do
-    cf=`basename $colorfile`
-    cf=`echo $cf | sed -e "s/-${lower_case_appname}//"`
-    cp $colorfile $Themes/$cf
-done
+cp ../../gtk2_ardour/themes/*-${lower_case_appname}.colors $Themes
 
 #
 # put sooper sekrit ingredients here and they will be copied
@@ -746,8 +745,8 @@ fi
 
 echo "Building tarball ..."
 
-rm -f $APPDIR.tar.bz2
-tar -cjf $APPDIR.tar.bz2 $APPDIR
+rm -f $APPDIR.tar
+tar -cf $APPDIR.tar $APPDIR
 
 echo "Calculating bundle size"
 du -sb $APPDIR/  | awk '{print $1}' > $APPDIR.size