/[clonezilla-sysresccd]/trunk/www/working/scripts/create-iso-tree
ViewVC logotype

Diff of /trunk/www/working/scripts/create-iso-tree

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by sng, Sun Aug 15 19:57:21 2010 UTC revision 104 by sng, Mon Sep 6 14:09:54 2010 UTC
# Line 10  if [ -z "$OUT_DIR" ];then Line 10  if [ -z "$OUT_DIR" ];then
10      OUT_DIR=/e      OUT_DIR=/e
11  fi  fi
12    
13    TGZ_DIR="$2"
14    if [ -z "$TGZ_DIR" ];then
15        TGZ_DIR=/home/spiros/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd
16    fi
17    
18  # clean output folder  # clean output folder
19  rm -rf /root/tmp/clonezilla-sysresccd/clonezilla*.iso 2>/dev/null  rm -rf /root/tmp/clonezilla-sysresccd/clonezilla*.iso 2>/dev/null
20  for n in 0 1 2;do  for n in 0 1 2;do
# Line 62  for ISO in  `find /root/tmp/ -name "clon Line 67  for ISO in  `find /root/tmp/ -name "clon
67      }      }
68            
69  done  done
70    
71    # create tgz file
72    echo "
73    Creating TARBALL...
74    "
75    cd "$TGZ_DIR"
76    make dist || {
77        echo "Error on make dist..."
78        exit 1
79    } && {
80        rm "$OUT_DIR"/*z 2>/dev/null
81        cp "$TGZ_DIR"/create-clonezilla-sysresccd-"$VERSION".tar.gz "$OUT_DIR"
82    }

Legend:
Removed from v.97  
changed lines
  Added in v.104

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26