File: zip2ipa.sh

package info (click to toggle)
vcmi 1.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 14,672 kB
  • sloc: cpp: 181,738; sh: 220; python: 178; ansic: 69; objc: 66; xml: 59; makefile: 34
file content (9 lines) | stat: -rwxr-xr-x 187 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

generatedZip="$1"
if [[ -z "$generatedZip" ]]; then
	echo 'generated zip not provided as param'
	exit 1
fi

mv "$generatedZip" "$(basename "$generatedZip" .zip).ipa"