Pass arguments to software scripts
This commit is contained in:
parent
10f2da8991
commit
d3550592f1
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ begin
|
|||
|
||||
function runInstaller -a action
|
||||
if [ -z "$action" ] || [ "$action" = "install" ]
|
||||
installSW
|
||||
installSW $argv[2..]
|
||||
else if [ "$action" = "configure" ]
|
||||
configureSW
|
||||
configureSW $argv[2..]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue