/[clonezilla-sysresccd]/trunk/www/working/scripts/2site
ViewVC logotype

Diff of /trunk/www/working/scripts/2site

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

revision 100 by sng, Mon Aug 16 17:02:25 2010 UTC revision 112 by sng, Wed Sep 15 13:20:07 2010 UTC
# Line 20  Line 20 
20  #                                                                            #  #                                                                            #
21  ##############################################################################  ##############################################################################
22    
23    pushd "$PWD"
24  ##############################################################################  ##############################################################################
25  # Configuration section  # Configuration section
26  #  #
# Line 31  whereIsTheISO=/e/clonezilla-sysresccd-"$ Line 31  whereIsTheISO=/e/clonezilla-sysresccd-"$
31  ##############################################################################  ##############################################################################
32  #                             Script starts here                             #  #                             Script starts here                             #
33  ##############################################################################  ##############################################################################
34    while getopts "d:" Option
35    do
36     case $Option in
37     d) thisDate="$OPTARG"
38     ;;
39      esac
40    done
41    ./pack-them
42    
43    
44  # Go to www/ directory  # Go to www/ directory
45  cd ..  cd ..
# Line 39  echo 'Creating files' Line 48  echo 'Creating files'
48  echo -n "  template.html...   "  echo -n "  template.html...   "
49  myDate=`sed -n '1p' working/release-data `  myDate=`sed -n '1p' working/release-data `
50  myVersion=`sed -n '2p' working/release-data `  myVersion=`sed -n '2p' working/release-data `
51  thisDate=`date '+%d/%m/%Y'`  if [ -z "$thisDate" ];then
52      thisDate=`date '+%d/%m/%Y'`
53    fi
54    
55  whereIsTheISO="$whereIsTheISO""$myVersion"  whereIsTheISO="$whereIsTheISO""$myVersion"
56  whereIsTheTarBall="$whereIsTheISO"/create-clonezilla-sysresccd-"$myVersion".tar.gz  whereIsTheTarBall="$whereIsTheISO"/create-clonezilla-sysresccd-"$myVersion".tar.gz
# Line 428  sed " Line 439  sed "
439  s/CLONEZILLA_VERSION/$CLONEZILLA_VERSION/  s/CLONEZILLA_VERSION/$CLONEZILLA_VERSION/
440  s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/  s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/
441  " download.html > download.html.$$ && mv download.html.$$ download.html  " download.html > download.html.$$ && mv download.html.$$ download.html
442    
443    popd
444    ./html2doc
445    ./html2txt
446    

Legend:
Removed from v.100  
changed lines
  Added in v.112

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26