mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-30 08:00:24 +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 |