|
@@ -1,4 +1,4 @@
|
|
|
-#!/bin/sh
|
|
|
+#!/bin/bash
|
|
|
|
|
|
version="0.1.2"
|
|
|
videoFile=''
|
|
@@ -20,7 +20,7 @@ command_exists() {
|
|
|
return 0
|
|
|
}
|
|
|
print_usage() {
|
|
|
- echo "\033[43;34m $package - 4dage custom version for ffmpeg: \033[0m"
|
|
|
+ echo -e "\033[43;34m $package - 4dage custom version for ffmpeg: \033[0m"
|
|
|
echo "${green}If have problem with this, please contact with gemer AKA: 张宇鹏<zhangyupeng@cgaii.com>"
|
|
|
echo "$package [options] application [arguments]"
|
|
|
echo " "
|
|
@@ -31,7 +31,7 @@ print_usage() {
|
|
|
echo "-n, --name=output file name output file name"
|
|
|
echo "-o, --output=DIR specify a directory to store output in"
|
|
|
echo " "
|
|
|
- echo "\033[0;33m"
|
|
|
+ echo -e "\033[0;33m"
|
|
|
cat <<EOF
|
|
|
_oo0oo_
|
|
|
088888880
|
|
@@ -56,7 +56,7 @@ print_usage() {
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
佛祖保佑 TTT 万无一失
|
|
|
EOF
|
|
|
- echo "\033[m"
|
|
|
+ echo -e "\033[m"
|
|
|
}
|
|
|
make_temp_dir() {
|
|
|
# # Make a temp folder
|