diff options
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mkarchroot.in b/mkarchroot.in index e03b4f9..010de3c 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -23,8 +23,6 @@ usage() { exit 1 } -orig_argv=("$@") - while getopts 'hC:M:c:' arg; do case "$arg" in C) pac_conf="$OPTARG" ;; @@ -38,7 +36,7 @@ shift $(($OPTIND - 1)) (( $# < 2 )) && die 'You must specify a directory and one or more packages.' -check_root "$0" "${orig_argv[@]}" +check_root working_dir="$(readlink -f $1)" shift 1 |