File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -40,24 +40,25 @@ function signAppBundle() {
40
40
codesign --deep --sign " ${CODESIGN_IDENTITY} " --options runtime --timestamp --force --entitlements " ${entitlements} " " $1 "
41
41
}
42
42
43
- binDir=" ${BASEDIR} /root/Applications/Red Hat OpenShift Local.app/Contents/Resources"
43
+ rootDir=" ${BASEDIR} /root"
44
+ binDir=" ${rootDir} /Applications/Red Hat OpenShift Local.app/Contents/Resources"
44
45
45
46
version=$( cat " ${BASEDIR} /VERSION" )
46
47
47
- pkgbuild --analyze --root ${BASEDIR} /root ${BASEDIR} /components.plist
48
+ pkgbuild --analyze --root " ${rootDir} " ${BASEDIR} /components.plist
48
49
plutil -replace BundleIsRelocatable -bool NO ${BASEDIR} /components.plist
49
50
50
51
sign " ${binDir} /crc"
51
52
sign " ${binDir} /crc-admin-helper-darwin"
52
53
sign " ${binDir} /vfkit"
53
54
54
- signAppBundle " ${BASEDIR} /root /Applications/Red Hat OpenShift Local.app"
55
+ signAppBundle " ${rootDir} /Applications/Red Hat OpenShift Local.app"
55
56
56
57
sudo chmod +sx " ${binDir} /crc-admin-helper-darwin"
57
58
58
59
pkgbuild --identifier com.redhat.crc --version ${version} \
59
60
--scripts " ${BASEDIR} /scripts" \
60
- --root " ${BASEDIR} /root " \
61
+ --root " ${rootDir} " \
61
62
--install-location / \
62
63
--component-plist " ${BASEDIR} /components.plist" \
63
64
" ${OUTPUT} /crc.pkg"
You can’t perform that action at this time.
0 commit comments