/[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 99 by sng, Mon Aug 16 13:00:26 2010 UTC revision 110 by sng, Wed Sep 15 12:51:06 2010 UTC
# Line 15  if [ -z "$TGZ_DIR" ];then Line 15  if [ -z "$TGZ_DIR" ];then
15      TGZ_DIR=/home/spiros/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd      TGZ_DIR=/home/spiros/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd
16  fi  fi
17    
18    
19    unset VERSION
20    VERSION=`sed '2!d' ../release-data`
21    
22    
23  # clean output folder  # clean output folder
24  rm -rf /root/tmp/clonezilla-sysresccd/clonezilla*.iso 2>/dev/null  rm -rf /root/tmp/clonezilla-sysresccd/clonezilla*.iso 2>/dev/null
25  for n in 0 1 2;do  for n in 0 1 2;do
# Line 25  done Line 30  done
30  clear  clear
31    
32    
 unset VERSION  
33  for ISO in  `find /root/tmp/ -name "clonezilla-sysresccd*.iso"`;do  for ISO in  `find /root/tmp/ -name "clonezilla-sysresccd*.iso"`;do
34      FILE=`basename ${ISO}`      FILE=`basename ${ISO}`
35      ISO_DIR=`echo "$FILE" | sed 's|.iso$||'`      ISO_DIR=`echo "$FILE" | sed 's|.iso$||'`
# Line 69  for ISO in  `find /root/tmp/ -name "clon Line 73  for ISO in  `find /root/tmp/ -name "clon
73  done  done
74    
75  # create tgz file  # create tgz file
76    echo "
77    
78    
79    VERSION=$VERSION
80    
81    Creating TARBALL...
82    "
83  cd "$TGZ_DIR"  cd "$TGZ_DIR"
84    make clean
85  make dist || {  make dist || {
86      echo "Error on make dist..."      echo "
87        
88        
89        Error on make dist..."
90      exit 1      exit 1
91  } && {  } && {
92      rm "$OUT_DIR"/*z 2>/dev/null      rm "$OUT_DIR"/clonezilla-sysresccd-"$VERSION"/*z 2>/dev/null
93      cp "$TGZ_DIR"/create-clonezilla-sysresccd-"$VERSION".tar.gz "$OUT_DIR"      cp "$TGZ_DIR"/create-clonezilla-sysresccd-"$VERSION".tar.gz "$OUT_DIR"/clonezilla-sysresccd-"$VERSION"
94  }  }

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26