diff options
author | 2014-07-18 17:33:12 +0200 | |
---|---|---|
committer | 2014-07-18 17:33:12 +0200 | |
commit | bc3e4887ca1e11e642c70172aff2a6e7dcc6cbd7 (patch) | |
tree | 9a803c4524e1c32765ab06647fc7cf5be38f88d2 | |
parent | doc/rst/usage.rst: document add-policy args (diff) | |
download | R_overlay-bc3e4887ca1e11e642c70172aff2a6e7dcc6cbd7.tar.gz R_overlay-bc3e4887ca1e11e642c70172aff2a6e7dcc6cbd7.tar.bz2 R_overlay-bc3e4887ca1e11e642c70172aff2a6e7dcc6cbd7.zip |
bin/invoke_pyscript.bash: fix
do not pass $@ twice when ROVERLAY_TAGET_TYPE == foreign
-rwxr-xr-x | bin/invoke_pyscript.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/invoke_pyscript.bash b/bin/invoke_pyscript.bash index 574405e..9861a4c 100755 --- a/bin/invoke_pyscript.bash +++ b/bin/invoke_pyscript.bash @@ -26,10 +26,10 @@ readonly SCRIPT_NAME if [[ "${ROVERLAY_TARGET_TYPE}" == "foreign" ]]; then case "${SCRIPT_NAME#roverlay[_-]}" in 'setup') - extra_args+=( '--target-type' 'foreign' "$@" ) + extra_args+=( '--target-type' 'foreign' ) ;; 'main'|'query'[-_]'config'|'status') - extra_args+=( '-c' "${PRJROOT}/R-overlay.conf.others" "$@" ) + extra_args+=( '-c' "${PRJROOT}/R-overlay.conf.others" ) ;; esac fi |