summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile')
-rwxr-xr-xpackages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile9
1 files changed, 6 insertions, 3 deletions
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"