AppImage/sequenceserver.sh in sequenceserver-2.0.0.beta4 vs AppImage/sequenceserver.sh in sequenceserver-2.0.0.rc1
- old
+ new
@@ -1,4 +1,9 @@
+# cd back to the directory where the AppImage was launched from. AppRun changes
+# the working directory so as to work with binaries that have /usr hard-coded;
+# we don't.
+cd $OWD
+
# Set GEM_PATH to where we installed gems in the AppImage.
export GEM_PATH=$APPDIR/var/lib/gems/2.3.0
# Get path of sequenceserver executable inside AppImage. Path of bare commands
# (here ruby) are resolved within AppImage's context. Use of Gem.bin_path lets