Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
erts-etc-unix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erts-etc-unix.patch of Package erlang
diff -Ndurp otp_src/erts/etc/unix/erl.src.src otp_src-erts-etc-unix/erts/etc/unix/erl.src.src --- otp_src/erts/etc/unix/erl.src.src 2016-06-21 16:12:42.000000000 +0300 +++ otp_src-erts-etc-unix/erts/etc/unix/erl.src.src 2016-06-23 13:05:23.828791204 +0300 @@ -18,17 +18,9 @@ # # %CopyrightEnd% # -if [ -z "$ERL_ROOTDIR" ] -then - ROOTDIR="%FINAL_ROOTDIR%" -else - ROOTDIR="$ERL_ROOTDIR" -fi +[ -z "$ERL_ROOTDIR" ] && ROOTDIR="%FINAL_ROOTDIR%" || ROOTDIR="$ERL_ROOTDIR" BINDIR=$ROOTDIR/erts-%VSN%/bin EMU=%EMULATOR%%EMULATOR_NUMBER% -PROGNAME=`echo $0 | sed 's/.*\///'` -export EMU -export ROOTDIR -export BINDIR -export PROGNAME +PROGNAME="${0##*/}" +export ROOTDIR BINDIR EMU PROGNAME exec "$BINDIR/erlexec" ${1+"$@"} diff -Ndurp otp_src/erts/etc/unix/start.src otp_src-erts-etc-unix/erts/etc/unix/start.src --- otp_src/erts/etc/unix/start.src 2016-06-21 16:12:42.000000000 +0300 +++ otp_src-erts-etc-unix/erts/etc/unix/start.src 2016-06-23 13:08:13.412513461 +0300 @@ -25,18 +25,6 @@ # # Usage: start [Data] # -if [ -z "$ERL_ROOTDIR" ] -then - ROOTDIR="%FINAL_ROOTDIR%" -else - ROOTDIR="$ERL_ROOTDIR" -fi - -if [ -z "$RELDIR" ] -then - RELDIR=$ROOTDIR/releases -fi - -START_ERL_DATA=${1:-$RELDIR/start_erl.data} - -$ROOTDIR/bin/run_erl -daemon /tmp/ $ROOTDIR/log "exec $ROOTDIR/bin/start_erl $ROOTDIR $RELDIR $START_ERL_DATA" +[ -z "$ERL_ROOTDIR" ] && ROOTDIR="%FINAL_ROOTDIR%" || ROOTDIR="$ERL_ROOTDIR" +[ -n "$RELDIR" ] || RELDIR=$ROOTDIR/releases +$ROOTDIR/bin/run_erl -daemon /tmp/ $ROOTDIR/log "exec $ROOTDIR/bin/start_erl $ROOTDIR $RELDIR ${1:-$RELDIR/start_erl.data}"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor