]> git.pld-linux.org Git - packages/dstreamserv.git/blob - dstreamserv-buildtarball.patch
- dss note
[packages/dstreamserv.git] / dstreamserv-buildtarball.patch
1 --- DSS-v5_0_3_2/buildtarball.orig      2002-12-21 18:41:05.000000000 +0100
2 +++ DSS-v5_0_3_2/buildtarball   2004-09-17 00:14:22.000000000 +0200
3 @@ -16,23 +16,23 @@
4         ;;              
5  esac
6  
7 -echo removing DarwinStreamingSrvr4.1.x-$PLAT.tar.gz
8 -if rm -f DarwinStreamingSrvr4.1.x-$PLAT.tar.gz; 
9 +echo removing DarwinStreamingSrvr$1-$PLAT.tar.gz
10 +if rm -f DarwinStreamingSrvr$1-$PLAT.tar.gz; 
11  then :
12  fi
13  
14 -echo removing DarwinStreamingSrvr4.1.x-$PLAT
15 -if rm -rf DarwinStreamingSrvr4.1.x-$PLAT; 
16 +echo removing DarwinStreamingSrvr$1-$PLAT
17 +if rm -rf DarwinStreamingSrvr$1-$PLAT; 
18  then :
19  fi
20  
21 -echo removing StreamingProxy-4.1.x-$PLAT.tar.gz
22 -if rm -f StreamingProxy-4.1.x-$PLAT.tar.gz; 
23 +echo removing StreamingProxy-$1-$PLAT.tar.gz
24 +if rm -f StreamingProxy-$1-$PLAT.tar.gz; 
25  then :
26  fi
27  
28 -echo removing StreamingProxy-4.1.x-$PLAT
29 -if rm -rf StreamingProxy-4.1.x-$PLAT 
30 +echo removing StreamingProxy-$1-$PLAT
31 +if rm -rf StreamingProxy-$1-$PLAT 
32  then :
33  fi
34  
35 @@ -67,27 +67,31 @@
36         exit 1
37  fi
38  
39 -if [ ! -d StreamingLoadTool ];
40 -then 
41 -       echo "Error: there is no StreamingLoadTool folder."
42 -       echo Cannot build StreamingLoadTool. Exiting!
43 +if [ "$1" = "dss" ]; then
44 +    echo ""
45 +else
46 +    if [ ! -d StreamingLoadTool ];
47 +    then 
48 +        echo "Error: there is no StreamingLoadTool folder."
49 +        echo Cannot build StreamingLoadTool. Exiting!
50          exit 1
51 -fi
52 -
53 -if [ ! -f StreamingLoadTool/StreamingLoadTool ];
54 -then
55 +    fi
56 +    
57 +    if [ ! -f StreamingLoadTool/StreamingLoadTool ];
58 +    then
59          echo "StreamingLoadTool failed to build!"
60 -       echo Buildit FAILED. Exiting!
61 -       exit 1
62 +        echo Buildit FAILED. Exiting!
63 +        exit 1
64 +    fi
65  fi
66  
67 -./DSS_MakeRoot -f DarwinStreamingSrvr4.1.x-$PLAT
68 -tar cvf DarwinStreamingSrvr4.1.x-$PLAT.tar DarwinStreamingSrvr4.1.x-$PLAT
69 -gzip DarwinStreamingSrvr4.1.x-$PLAT.tar
70 -
71 -./DSS_MakeProxyRoot StreamingProxy-4.1.x-$PLAT
72 -tar cvf StreamingProxy-4.1.x-$PLAT.tar StreamingProxy-4.1.x-$PLAT
73 -gzip StreamingProxy-4.1.x-$PLAT.tar
74 +./DSS_MakeRoot -f DarwinStreamingSrvr$1-$PLAT $1
75 +tar cvf DarwinStreamingSrvr$1-$PLAT.tar DarwinStreamingSrvr$1-$PLAT
76 +gzip DarwinStreamingSrvr$1-$PLAT.tar
77 +
78 +./DSS_MakeProxyRoot StreamingProxy-$1-$PLAT
79 +tar cvf StreamingProxy-$1-$PLAT.tar StreamingProxy-$1-$PLAT
80 +gzip StreamingProxy-$1-$PLAT.tar
81  
82  echo Success!
83  
This page took 0.197415 seconds and 3 git commands to generate.