don't attempt to toggle history
This commit is contained in:
parent
94d4493a78
commit
d6e455cc27
4
run.sh
4
run.sh
|
@ -59,11 +59,7 @@ run_embark () {
|
||||||
*e*) oldopts="set -e" ;;
|
*e*) oldopts="set -e" ;;
|
||||||
*) oldopts="set +e" ;;
|
*) oldopts="set +e" ;;
|
||||||
esac
|
esac
|
||||||
if [[ $(shopt -po history) = "set -o history" ]]; then
|
|
||||||
oldopts="$oldopts; set -o history"
|
|
||||||
fi
|
|
||||||
set +e
|
set +e
|
||||||
set +o history
|
|
||||||
|
|
||||||
check_bash_version () {
|
check_bash_version () {
|
||||||
if [[ $BASH_VERSINFO -lt 4 ]]; then
|
if [[ $BASH_VERSINFO -lt 4 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue