From eaaa8c5df2fef9083a3b80f28f6b52523517c4b5 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Fri, 2 Oct 2015 12:18:49 +0000 Subject: [PATCH] Fixes on deployment --- scripts/containers/deploy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/containers/deploy.sh b/scripts/containers/deploy.sh index b8ed679b..4e5e5528 100644 --- a/scripts/containers/deploy.sh +++ b/scripts/containers/deploy.sh @@ -17,8 +17,8 @@ function main () { exit 3 fi noinput='--noinput' - run=surun_ - sudorun=run_ + alias run=surun_ + alias sudorun=run_ user=$2 elif [[ $# -eq 2 ]]; then if [[ $1 != '--noinput' ]]; then @@ -32,8 +32,8 @@ function main () { echo -e "\nErr. This script should run as a regular user\n" >&2 exit 1 } - run=run_ - sudorun="run_ sudo" + alias run=run_ + alias sudorun="run_ sudo" # Test sudo privileges sudo true fi