use different separator for constitency
This commit is contained in:
		| @@ -133,12 +133,12 @@ parse() { | ||||
| parse "$@" | ||||
|  | ||||
| [ -z "$WSCOMPAT_MASTER" ] && WSCOMPAT_MASTER="$(whoami)" | ||||
| read -r -d '' init_cmd << WSCOMPAT_EOF_9oqn7IVF || true | ||||
| read -r -d '' init_cmd << WSCOMPAT_EOF_ahkiem3K || true | ||||
| 	export WS_IS_COMPAT=1 | ||||
| 	export WSCOMPAT_MASTER="$WSCOMPAT_MASTER" | ||||
| 	export WSCOMPAT_DIR="/tmp/wscompat_${WSCOMPAT_MASTER}_\$(whoami)" | ||||
| 	rm -rf "\$WSCOMPAT_DIR" && mkdir -p "\$WSCOMPAT_DIR" && chmod 700 "\$WSCOMPAT_DIR" | ||||
| 	cat << 'WSCOMPAT_EOF_84EbM3la' > "\$WSCOMPAT_DIR/profile" | ||||
| 	cat << 'WSCOMPAT_EOF_daePe0Ph' > "\$WSCOMPAT_DIR/profile" | ||||
| $( | ||||
| 	sed 's/WSCOMPAT_EOF_/WSCOMPAT_EOF__/g' "$WSCOMPAT_DIR/profile" | ||||
| 	for file in "$WSCOMPAT_DIR.profile"*.sh; do | ||||
| @@ -147,9 +147,9 @@ $( | ||||
| 		fi | ||||
| 	done | ||||
| ) | ||||
| WSCOMPAT_EOF_84EbM3la | ||||
| WSCOMPAT_EOF_daePe0Ph | ||||
| 	. \$WSCOMPAT_DIR/profile | ||||
| WSCOMPAT_EOF_9oqn7IVF | ||||
| WSCOMPAT_EOF_ahkiem3K | ||||
|  | ||||
| if [ -z "$sudo_command" ]; then | ||||
| 	sudo_command="exec /bin/bash --rcfile \"\$WSCOMPAT_DIR/bashrc\"" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user