From de7c98f98d99104fcbe09a81437be2f5441a9537 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 14 Sep 2016 16:44:01 -0400 Subject: [PATCH] Refactor for user home directory. --- bin/remove-comanage.sh | 3 +-- bin/remove-grouper.sh | 3 +-- bin/remove-shibboleth.sh | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bin/remove-comanage.sh b/bin/remove-comanage.sh index bb2f800..21bbc93 100755 --- a/bin/remove-comanage.sh +++ b/bin/remove-comanage.sh @@ -1,4 +1,3 @@ #!/bin/bash -rm -rf /Users/levvel/VirtualBox\ VMs/comanage-appliance-centos7-xfs/ -rm -rf /home/centos/VirtualBox\ VMs/comanage-appliance-centos7-xfs/ +rm -rf $USER/VirtualBox\ VMs/comanage-appliance-centos7-xfs/ diff --git a/bin/remove-grouper.sh b/bin/remove-grouper.sh index 7216b65..dbbf98a 100755 --- a/bin/remove-grouper.sh +++ b/bin/remove-grouper.sh @@ -1,4 +1,3 @@ #!/bin/bash -rm -rf /Users/levvel/VirtualBox\ VMs/grouper-appliance-centos7-xfs/ -rm -rf /home/centos/VirtualBox\ VMs/grouper-appliance-centos7-xfs/ +rm -rf $USER/VirtualBox\ VMs/grouper-appliance-centos7-xfs/ diff --git a/bin/remove-shibboleth.sh b/bin/remove-shibboleth.sh index 1b658f8..e9940ca 100755 --- a/bin/remove-shibboleth.sh +++ b/bin/remove-shibboleth.sh @@ -1,4 +1,3 @@ #!/bin/bash -rm -rf /Users/levvel/VirtualBox\ VMs/shibboleth-appliance-centos7-xfs/ -rm -rf /home/centos/VirtualBox\ VMs/shibboleth-appliance-centos7-xfs/ +rm -rf $USER/VirtualBox\ VMs/shibboleth-appliance-centos7-xfs/