Skip to content

Instantly share code, notes, and snippets.

@4ndrej
Created December 9, 2013 11:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save 4ndrej/7871015 to your computer and use it in GitHub Desktop.
Citrix Receiver for Linux (ICA client) patch for ability to autorun .ica files with space in filename. Patched wfcmgr script is located at ./ICAClient/wfcmgr
# diff -Naur wfcmgr.old wfcmgr
--- wfcmgr.old 2013-07-25 15:49:31.180136647 +0200
+++ wfcmgr 2013-07-25 15:50:10.153028280 +0200
@@ -143,7 +143,7 @@
if [ -f $HOME/.ICAClient/.eula_accepted ]
then
# EULA has been accepted on a previous occasion
- exec $ICAROOT/wfcmgr.bin $*
+ exec $ICAROOT/wfcmgr.bin $1 $2 "$3"
fi
if [ "$1" = "present_eula" ]
@@ -201,4 +201,5 @@
# Start the real wfcmgr if the EULA was accepted.
-[ -f $HOME/.ICAClient/.eula_accepted ] && exec $ICAROOT/wfcmgr.bin $*
+[ -f $HOME/.ICAClient/.eula_accepted ] && exec $ICAROOT/wfcmgr.bin $1 $2 "$3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment