[X2Go-Commits] [[X2Go Wiki]] page changed: doc:howto:tce

wiki-admin at x2go.org wiki-admin at x2go.org
Wed Sep 18 21:34:46 CEST 2019


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2019/09/18 19:34
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.4 Firefox/60.9 PaleMoon/28.7.1
IP-Address  : 109.193.81.67
Hostname    : HSI-KBW-109-193-081-067.hsi7.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1568835097
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Starting the Build] added some double quotes (stylefix)
User        : stefanbaur

@@ -206,9 +206,9 @@
  # Create Timestamp
  LBX2GO_TIMESTAMP=$(date +"%Y%m%d%H%M%S")
  
  # Set Directory name
- LBX2GO_TCEDIR="./live-build-x2go-${LBX2GO_TIMESTAMP}-${LBX2GO_IMAGETYPE}-$(echo $LBX2GO_ARCH | awk '{print $2}')-${LBX2GO_CONFIG##*/}"
+ LBX2GO_TCEDIR="./live-build-x2go-${LBX2GO_TIMESTAMP}-${LBX2GO_IMAGETYPE}-$(echo "$LBX2GO_ARCH" | awk '{print $2}')-${LBX2GO_CONFIG##*/}"
  
  if [ -z "$LBX2GO_ARCH" ] ||
     [ -z "$LBX2GO_SPACE" ] ||
     [ -z
"$LBX2GO_CONFIG" ] ||
@@ -255,9 +255,9 @@
      fi
      # This is for minidesktop builds only
      if [ -f config/package-lists/firefox-langpacks.list.chroot ]; then
              if [ -n "$LBX2GO_LANG" ]; then
-                     for LBX2GO_SINGLE_LANG in $(echo $LBX2GO_LANG | tr ';' ' '); do
+                     for LBX2GO_SINGLE_LANG in $(echo "$LBX2GO_LANG" | tr ';' ' '); do
                              echo "LANG: '$LBX2GO_SINGLE_LANG'"
                              sed -i -e 's/#firefox-esr-l10n-'$LBX2GO_SINGLE_LANG'$/firefox-esr-l10n-'$LBX2GO_SINGLE_LANG'/' config/package-lists/firefox-langpacks.list.chroot
                      done
              else
@@ -391,10 +391,10 @@
          ln $(realpath ./chroot/initrd.img) ./x2go-tce-initrd.img
          ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
  
          if [ "$LBX2GO_IMAGETYPE" = "hdd" ] ; then
-                 ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').img \
-                   
./x2go-tce-live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').img
+                 ln ./live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').img \
+                    ./x2go-tce-live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').img
          fi
          if [ "$LBX2GO_IMAGETYPE" = "netboot" ] ; then
              if [ "$LBX2GO_NOSQUASHFS" = "true" ] ; then
                  (cd binary; echo live$'\n'live/filesystem.squashfs |cpio -o -H newc | gzip --fast) >./x2go-tce-filesystem.cpio.gz
@@ -405,14 +405,14 @@
              fi
          fi
          if [ "$LBX2GO_IMAGETYPE" = "iso" ] || [ "$LBX2GO_IMAGETYPE" = "iso-hybrid" ] ; then
              genisoimage -o ./x2go-tce-squashfs-only.iso -R -J -graft-points live/filesystem.squashfs=./x2go-tce-filesystem.squashfs
-             if [ -e ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').hybrid.iso ] ; then
-                     ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').hybrid.iso \
-                       
./original-x2go-tce-live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').hybrid.iso
-             elif [ -e ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').iso ] ; then
-                     ln ./live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').iso \
-                        ./original-x2go-tce-live-image-$(echo $LBX2GO_ARCH | awk '{print $2}').iso
+             if [ -e ./live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').hybrid.iso ] ; then
+                     ln ./live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').hybrid.iso \
+                        ./original-x2go-tce-live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').hybrid.iso
+             elif [ -e ./live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').iso ] ; then
+                     ln ./live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').iso \
+                        ./original-x2go-tce-live-image-$(echo "$LBX2GO_ARCH" | awk '{print $2}').iso
              fi
              mv
./x2go-tce-filesystem.squashfs ./original-x2go-tce-filesystem.squashfs
          fi
          # create timestamp file


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/



More information about the x2go-commits mailing list