Created
December 9, 2013 11:40
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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