/[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 99 by sng, Mon Aug 16 13:00:26 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    cd "$TGZ_DIR"
73    make dist || {
74        echo "Error on make dist..."
75        exit 1
76    } && {
77        rm "$OUT_DIR"/*z 2>/dev/null
78        cp "$TGZ_DIR"/create-clonezilla-sysresccd-"$VERSION".tar.gz "$OUT_DIR"
79    }

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26