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 .. |
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 |