testing application with parameters in following script

pooja_ash_vv
New Contributor II

Where I am going wrong in testing application with parameters in following script ?

!/bin/bash

source="/Library/Application Support/JAMF/Waiting Room/abc.app"
target="/Library/Applications/"
mv "$source" "$target"
installer -pkg "/Library/Applications/" -target --quiet --update No --analytics No

1 REPLY 1

stevewood
Honored Contributor II
Honored Contributor II

@user-sNVOuZbYdW

Can you re-post your script and make sure you use the code formatting when you post?

802e6c653ff64a00b7c6e4c4f4d567db

But looking at your installer call, it doesn't appear that you're providing a package nor a target. What exactly are you attempting to do? You wouldn't be able to use the .app file with the installer command, so it's not really clear.