Projects
home:hede:branches:Kolab:Winterfell
erlang-relx
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
relx-fix-readlink-for-relative-path-names.patch
Added
@@ -0,0 +1,45 @@ +diff -rupN erlang-relx-3.21.1-ori/priv/templates/bin erlang-relx-3.21.1/priv/templates/bin +--- erlang-relx-3.21.1-ori/priv/templates/bin 2016-10-07 18:33:29.000000000 +0000 ++++ erlang-relx-3.21.1/priv/templates/bin 2018-05-05 11:40:21.000000000 +0000 +@@ -2,7 +2,17 @@ + + set -e + +-SCRIPT=$(readlink $0 || true) ++# SCRIPT=$(readlink $0 || true) ++# OSX does not support readlink '-f' flag, work ++# around that ++case $OSTYPE in ++ darwin*) ++ SCRIPT=$(readlink $0 || true) ++ ;; ++ *) ++ SCRIPT=$(readlink -f $0 || true) ++ ;; ++esac + if [ -z $SCRIPT ]; then + SCRIPT=$0 + fi; +diff -rupN erlang-relx-3.21.1-ori/priv/templates/extended_bin erlang-relx-3.21.1/priv/templates/extended_bin +--- erlang-relx-3.21.1-ori/priv/templates/extended_bin 2016-10-07 18:33:29.000000000 +0000 ++++ erlang-relx-3.21.1/priv/templates/extended_bin 2018-05-05 11:40:21.000000000 +0000 +@@ -2,7 +2,17 @@ + + set -e + +-SCRIPT=$(readlink $0 || true) ++# SCRIPT=$(readlink $0 || true) ++# OSX does not support readlink '-f' flag, work ++# around that ++case $OSTYPE in ++ darwin*) ++ SCRIPT=$(readlink $0 || true) ++ ;; ++ *) ++ SCRIPT=$(readlink -f $0 || true) ++ ;; ++esac + if [ -z $SCRIPT ]; then + SCRIPT=$0 + fi; +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +erlang-relx (3.21.1-1mic1) unstable; urgency=low + + * fix readlink for relative path names + + -- hede <kolab983@der-he.de> Thu, 03 Nov 2017 22:26:56 +0000 + erlang-relx (3.21.1-1) unstable; urgency=low * Initial Release.
View file
debian.series
Changed
@@ -2,3 +2,4 @@ relx-3.21.1-git.patch -p1 relx-remove-rebar-deps.patch -p1 relx-bin.patch -p1 +relx-fix-readlink-for-relative-path-names.patch -p1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.