summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium/resources/chrome-profile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gwt-chromium/resources/chrome-profile')
-rwxr-xr-xpackages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent5
-rwxr-xr-xpackages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile9
2 files changed, 9 insertions, 5 deletions
diff --git a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
index c0b2ef1..37dae28 100755
--- a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
+++ b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
@@ -8,5 +8,6 @@ fi
chmod -R u+w "$profile"
LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \
"$HERE"/../chrome-linux/chrome \
- --auth-server-whitelist="*cern.ch" \
- --disable-setuid-sandbox --user-data-dir="$profile" $*
+ --auth-server-whitelist="*cern.ch" \
+ --disable-setuid-sandbox \
+ --user-data-dir="$profile" $*
diff --git a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
index 99f2a21..ec39c1d 100755
--- a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
+++ b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
@@ -10,7 +10,10 @@ test -e "$persistent_profile/Default/Bookmarks" && \
cp "$persistent_profile/Default/Bookmarks" "$tmp_profile/Default/Bookmarks"
LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \
- "$HERE/../chrome-linux/"/chrome \
- --auth-server-whitelist="*cern.ch" \
- --disable-setuid-sandbox --user-data-dir="$tmp_profile" $*
+ "$HERE"/../chrome-linux/chrome \
+ --auth-server-whitelist="*cern.ch" \
+ --disable-setuid-sandbox \
+ --user-data-dir="$tmp_profile" $*
+
+# delete temporary profile after exit
rm -r "$tmp_profile"