Outliner - Notify on GP Layer Change
[blender.git] / release / bin / blender-softwaregl
old mode 100644 (file)
new mode 100755 (executable)
index 63e6d9a..8628dca
@@ -1,25 +1,22 @@
-#!/bin/sh\r
-BF_DIST_BIN=`dirname "$0"`\r
-BF_PROGRAM="blender" # BF_PROGRAM=`basename "$0"`-bin\r
-exitcode=0\r
-\r
-LD_LIBRARY_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH}\r
-\r
-if [ -n "$LD_LIBRARYN32_PATH" ]; then\r
-    LD_LIBRARYN32_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARYN32_PATH}\r
-fi\r
-if [ -n "$LD_LIBRARYN64_PATH" ]; then\r
-    LD_LIBRARYN64_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARYN64_PATH}\r
-fi\r
-if [ -n "$LD_LIBRARY_PATH_64" ]; then\r
-    LD_LIBRARY_PATH_64=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH_64}\r
-fi\r
-\r
-# Workaround for half-transparent windows when compiz is enabled\r
-XLIB_SKIP_ARGB_VISUALS=1\r
-\r
-export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD XLIB_SKIP_ARGB_VISUALS\r
-\r
-"$BF_DIST_BIN/$BF_PROGRAM" ${1+"$@"}\r
-exitcode=$?\r
-exit $exitcode\r
+#!/bin/sh
+BF_DIST_BIN=$(dirname "$0")
+BF_PROGRAM="blender" # BF_PROGRAM=$(basename "$0")-bin
+
+LD_LIBRARY_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH}
+
+if [ -n "$LD_LIBRARYN32_PATH" ]; then
+    LD_LIBRARYN32_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARYN32_PATH}
+fi
+if [ -n "$LD_LIBRARYN64_PATH" ]; then
+    LD_LIBRARYN64_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARYN64_PATH}
+fi
+if [ -n "$LD_LIBRARY_PATH_64" ]; then
+    LD_LIBRARY_PATH_64=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH_64}
+fi
+
+# Workaround for half-transparent windows when compiz is enabled
+XLIB_SKIP_ARGB_VISUALS=1
+
+export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD XLIB_SKIP_ARGB_VISUALS
+
+exec "$BF_DIST_BIN/$BF_PROGRAM" ${1+"$@"}