File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ shasta_wrapper.spec
2
+ shasta_wrapper.tar.gz
3
+ tmp /
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ NAME = shasta_wrapper
2
2
CONFDIR = /etc
3
3
LIBDIR = /usr/share/shasta_wrapper/lib
4
4
SBINDIR = /usr/sbin
5
- VERSION = 0.5 .0
5
+ VERSION = 0.3 .0
6
6
RELEASE = 0.1
7
7
8
8
SOURCE = src
@@ -53,3 +53,5 @@ install: all
53
53
cp -ar " $( SOURCE_SBIN) /" * " $( DESTDIR) $( SBINDIR) /"
54
54
cp -ar " $( SOURCE_LIB) /" * " $( DESTDIR) $( LIBDIR) /"
55
55
sed -i ' s|%LIBDIR%|$(LIBDIR)|g' " $( DESTDIR) $( SBINDIR) /shasta"
56
+ sed -i ' s|%VERSION%|$(VERSION)|g' " $( DESTDIR) $( SBINDIR) /shasta"
57
+ sed -i ' s|%RELEASE%|$(RELEASE)|g' " $( DESTDIR) $( SBINDIR) /shasta"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- VERSION=" 0.2.0 "
2
+ VERSION=" %VERSION%-%RELEASE% "
3
3
4
4
for file in %LIBDIR%/* ; do
5
5
source $file
You can’t perform that action at this time.
0 commit comments