aboutsummaryrefslogtreecommitdiff
path: root/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common.sh')
-rw-r--r--common.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index 7cc262a..cf8c175 100644
--- a/common.sh
+++ b/common.sh
@@ -32,7 +32,11 @@ warning() {
# Convert hostname to the SSH destination
sshdest() {
- awk -F- 'NF > 1 { print $2"."$1; exit } { print $1 }' <<<"$1"
+ if [ "$1" = "lipwig" ]; then
+ echo "newlipwig"
+ else
+ awk -F- 'NF > 1 { print $2"."$1; exit } { print $1 }' <<<"$1"
+ fi
}
# Reverse opeartion for sshdest