Use bash variable add operator
[hvlinux.git] / stage4 / pkg / MesaLib
index ed54cb7..95e4634 100644 (file)
@@ -8,18 +8,17 @@ hvconfig_pre()
     if [ -n "${XORG_VIDEO_DRIVER}" ]; then
         case "${XORG_VIDEO_DRIVER}" in
            nouveau)
-               DRI_OPTS="${DRI_OPTS},nouveau"
-               GAL_OPTS="${GAL_OPTS},nouveau"
+               DRI_OPTS+=",nouveau"
+               GAL_OPTS+=",nouveau"
                ;;
            intel)
-               DRI_OPTS="${DRI_OPTS},i915,i965"
-               GAL_OPTS="${GAL_OPTS},i915"
+                DRI_OPTS+=",i915,i965"
+                GAL_OPTS+=",i915"
                ;;
        esac
     fi
 
-    CONFIGURE_OPTS="\
-        ${CONFIGURE_OPTS} \
+    CONFIGURE_OPTS+=" \
         --enable-texture-float \
         --enable-gles1 \
         --enable-gles2 \