From 801d9f51d5dd27f1168f8747e30890b78d011d37 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Mon, 8 May 2017 17:58:16 +0200 Subject: [PATCH] [fix] test generic function incorrect for restore/upgrade/remove --- scripts/remove | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index af0c466..246bd95 100644 --- a/scripts/remove +++ b/scripts/remove @@ -3,7 +3,7 @@ # Exit on command errors and treat unset variables as an error set -u -if [ ! -e ._common ]; then +if [ ! -e _common ]; then # Get file fonction if not been to the current directory sudo cp ../settings/scripts/_common ./_common sudo chmod a+rx _common diff --git a/scripts/restore b/scripts/restore index 7ae028a..d1e4884 100644 --- a/scripts/restore +++ b/scripts/restore @@ -3,7 +3,7 @@ # causes the shell to exit if any subcommand or pipeline returns a non-zero status set -eu -if [ ! -e ._common ]; then +if [ ! -e _common ]; then # Get file fonction if not been to the current directory sudo cp ../settings/scripts/_common ./_common sudo chmod a+rx _common diff --git a/scripts/upgrade b/scripts/upgrade index d7dfcf6..371ffd1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -3,7 +3,7 @@ # Exit on command errors and treat unset variables as an error set -eu -if [ ! -e ._common ]; then +if [ ! -e _common ]; then # Get file fonction if not been to the current directory sudo cp ../settings/scripts/_common ./_common sudo chmod a+rx _common