Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
mc
mc-wrapper.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mc-wrapper.patch of Package mc
Index: contrib/mc.sh.in =================================================================== --- contrib/mc.sh.in.orig 2010-07-05 21:12:51.000000000 +0200 +++ contrib/mc.sh.in 2010-09-14 12:43:40.906036450 +0200 @@ -1,3 +1,10 @@ # Don't define aliases in plain Bourne shell [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ] || return 0 -alias mc='. @pkglibexecdir@/mc-wrapper.sh' +mc() +{ +. @datadir@/mc/mc-wrapper.sh +} +if [ -n "$BASH_VERSION" ] +then + export -f mc +fi Index: contrib/Makefile.am =================================================================== --- contrib/Makefile.am.orig 2010-09-14 12:43:45.000000000 +0200 +++ contrib/Makefile.am 2010-09-14 12:47:16.291629539 +0200 @@ -22,10 +22,10 @@ EXTRA_DIST = \ $(noinst_DATA) mc.csh: $(srcdir)/mc.csh.in - sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.csh.in > mc.csh + sed "s%@""datadir@%$(datadir)%" $(srcdir)/mc.csh.in > mc.csh mc.sh: $(srcdir)/mc.sh.in - sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.sh.in > mc.sh + sed -e "s%@""datadir@%$(datadir)%" $(srcdir)/mc.sh.in > mc.sh mc-wrapper.csh: $(srcdir)/mc-wrapper.csh.in sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh
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