Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Commits on Dec 02, 2012
@Ratler Ratler syms_not_owned() causes symlinks to become alien
If a module create a symlink to a file that belong to another
module the core tools stripped these links from the install log
leaving the symlinks alien in the system. This proposal fix that
minor issue.
43bd964
Commits on Jan 16, 2013
@sofar sofar Merge pull request #34 from Ratler/symsnotowned
syms_not_owned() causes symlinks to become alien
5c5b927
Showing with 1 addition and 23 deletions.
  1. +0 −15 libs/build.lunar
  2. +1 −8 libs/tracking.lunar
View
15 libs/build.lunar
@@ -327,21 +327,6 @@ default_post_build() {
}
-syms_not_owned() {
- local DEST
- debug_msg "syms_not_owned ($@)"
- while read ITEM ; do
- if [ -h "$ITEM" ] && [ -f "$ITEM" ]; then
- DEST=$(basename $(ls -la "$ITEM" | cut -d '>' -f2 | cut -c 2- ) )
- if ! grep -q "$DEST" "$1" ; then
- echo -n "$ITEM\|"
- echo "$ITEM" >> $TMPDIR/$MODULE.rejected.symlinks
- fi
- fi
- done < $1
-}
-
-
prepare_module_config() {
debug_msg "prepare_module_config ($@)"
if [ ! -e "$MODULE_CONFIG" ] ; then
View
9 libs/tracking.lunar
@@ -78,14 +78,7 @@ create_install_log() {
echo "$COMPILE_LOGS/$MODULE-$VERSION.xz" >> $TMP_INST_LOG
echo "$MD5SUM_LOGS/$MODULE-$VERSION" >> $TMP_INST_LOG
- MISOWNED_SYMLINKS=$(syms_not_owned $TMP_INST_LOG
- echo -n "/dev/null")
-
- if [ "$MISOWNED_SYMLINKS" == "/dev/null" ] ; then
- install -m644 $TMP_INST_LOG $INST_LOG
- else
- grep -v "$MISOWNED_SYMLINKS" "$TMP_INST_LOG" > $INST_LOG
- fi
+ install -m644 $TMP_INST_LOG $INST_LOG
temp_destroy $TMP_INST_LOG
}

No commit comments for this range

Something went wrong with that request. Please try again.