Compare commits

..

No commits in common. "dev" and "0.0.2" have entirely different histories.
dev ... 0.0.2

2 changed files with 5 additions and 10 deletions

View File

@ -27,18 +27,15 @@ main() {
}
MOUNTBASEDIR=$(realpath ~/Remotes)
TARGET=${1};
while [ ${#} -gt 0 ]; do
case ${1} in
--help) showHelp; exit 0;;
-b | --bastion) BASTION="${2}"; shift; shift;;
-d | --mountbase) MOUNTBASEDIR=$(realpath "${2}"); shift; shift;;
*)
TARGET=${1};
MOUNTDIR="${MOUNTBASEDIR}/${2}";
shift
shift
;;
*) shift;;
esac
done
MOUNTDIR="${MOUNTBASEDIR}/${2}";
main

View File

@ -25,11 +25,9 @@ while [ ${#} -gt 0 ]; do
case ${1} in
--help) showHelp; exit 0;;
-d | --mountbase) MOUNTBASEDIR=$(realpath "${2}"); shift; shift;;
*)
MOUNTDIR="${MOUNTBASEDIR}/${1}";
shift
;;
*) shift;;
esac
done
MOUNTDIR="${MOUNTBASEDIR}/${2}";
main