mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-26 14:10:23 +00:00
10 lines
No EOL
295 B
Bash
Executable file
10 lines
No EOL
295 B
Bash
Executable file
#!/bin/sh
|
|
VERSION_FILE="versionfile"
|
|
VERSION_NAME=$(cat ${VERSION_FILE} | tr -d '\n\r')
|
|
|
|
case $1 in
|
|
--touch|-t|touch) printf "${VERSION_NAME}-touch" ;;
|
|
--leanback|-l|leanback) printf "${VERSION_NAME}-leanback" ;;
|
|
--dev) printf "${VERSION_NAME}-develop" ;;
|
|
*) printf "${VERSION_NAME}" ;;
|
|
esac |