__devenv
This commit is contained in:
parent
76819f7b95
commit
e898cb385c
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,5 +7,6 @@ systems/*
|
||||
|
||||
var/
|
||||
|
||||
.firstRun
|
||||
.aliases
|
||||
.systems
|
||||
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
RESET='\033[0m'
|
||||
Black='\033[0;30m'
|
||||
Red='\033[0;31m'
|
||||
Green='\033[0;32m'
|
||||
@ -9,17 +10,17 @@ Cyan='\033[0;36m'
|
||||
White='\033[0;37m'
|
||||
|
||||
denv_error_msg () {
|
||||
echo -e "${Red}$@${White}"
|
||||
echo -e "${Red}$@${RESET}"
|
||||
}
|
||||
|
||||
denv_success_msg () {
|
||||
echo -e "${Green}$@${White}"
|
||||
echo -e "${Green}$@${RESET}"
|
||||
}
|
||||
|
||||
denv_info_msg () {
|
||||
echo -e "${Cyan}$@${White}"
|
||||
echo -e "${Cyan}$@${RESET}"
|
||||
}
|
||||
|
||||
denv_echo_msg () {
|
||||
echo -e "${White}$@"
|
||||
echo -e "${White}$@${RESET}"
|
||||
}
|
||||
@ -21,7 +21,7 @@ while IFS=' ' read -r IDENTIFIER DIRECTORY GIT; do
|
||||
fi
|
||||
|
||||
denv_info_msg "System $IDENTIFIER"
|
||||
SYSTEM_SCRIPT_DIRECTORY=$(realpath "systems/$DIRECTORY/bin/script")
|
||||
SYSTEM_SCRIPT_DIRECTORY=$(realpath "$ENV_DIR/systems/$DIRECTORY/bin/script")
|
||||
COMMAND_PATH="$SYSTEM_SCRIPT_DIRECTORY/$COMMAND";
|
||||
|
||||
# Check if system directory already exists
|
||||
|
||||
Loading…
Reference in New Issue
Block a user