formatting
This commit is contained in:
parent
3bd0543fc5
commit
e5a28282a0
@ -15,7 +15,7 @@ if git diff --name-only origin/beta | grep -qs ".sh" ; then
|
|||||||
[[ "$i" == "--self-update" ]] && unset "args[$count]" && break
|
[[ "$i" == "--self-update" ]] && unset "args[$count]" && break
|
||||||
((count++))
|
((count++))
|
||||||
done
|
done
|
||||||
[[ -z ${args[*]} ]] && echo "No more arguments, exiting.." && exit
|
[[ -z ${args[*]} ]] && echo -e "No more arguments, exiting..\n" && exit
|
||||||
echo -e "Running the new version...\n"
|
echo -e "Running the new version...\n"
|
||||||
sleep 5
|
sleep 5
|
||||||
exec bash "$script_name" "${args[@]}"
|
exec bash "$script_name" "${args[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user