explanation
This commit is contained in:
parent
c9c77c1d6c
commit
2adbf8d1f7
@ -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[*]} ]] && exit
|
[[ -z ${args[*]} ]] && echo "No more arguments, exiting.." && 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