File: read_codesign

package info (click to toggle)
obs-advanced-scene-switcher 1.32.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,492 kB
  • sloc: xml: 297,593; cpp: 147,875; python: 387; sh: 280; ansic: 170; makefile: 33
file content (9 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
autoload -Uz log_info

if (( ! ${+CODESIGN_IDENT} )) {
  typeset -g CODESIGN_IDENT
  log_info 'Setting up Apple Developer ID for application codesigning...'
  read CODESIGN_IDENT'?Apple Developer Application ID: '
}

typeset -g CODESIGN_TEAM=$(print "${CODESIGN_IDENT}" | /usr/bin/sed -En 's/.+\((.+)\)/\1/p')