Skip to content

Commit 39aff19

Browse files
authored
Merge pull request #464 from pcardona34/debian12-aarch64-vm
make gdb-Workspace.sh work as expected
2 parents d460ac7 + 45fdd6c commit 39aff19

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: Applications/Workspace/gdb-Workspace.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/bin/sh
22
# /usr/libexec/Xorg :0 -noreset -background none -seat seat0 -nolisten tcp -keeptty vt1
3+
# Debian (as root) # /usr/bin/Xorg :0 -noreset -background none -seat seat0 -nolisten tcp -keeptty vt1
34

45
export CFNETWORK_LIBRARY_PATH="/usr/NextSpace/lib/libCFNetwork.so"
56

67
PROG_NAME="Workspace"
78
PROG_PATH="/usr/NextSpace/Apps/Workspace.app/Workspace"
89
PROG_ARGS="--GNU-Debug=DBus --GNU-Debug=dealloc"
910

10-
WS_PID="`ps auxw|grep ${PROG_NAME}|grep -v grep|grep -v /bin/sh|awk -c '{print $2}'`"
11-
if [ "$WS_PID" == "" ];then
11+
WS_PID="`ps auxw|grep ${PROG_NAME}|grep -v grep|grep -v /bin/sh|awk '{print $2}'`"
12+
if [ -z "$WS_PID" ];then
1213
echo "Starting new '${PROG_NAME}' instance..."
1314
export DISPLAY=:0.0
1415
gnustep-services start

0 commit comments

Comments
 (0)