diff options
Diffstat (limited to 'graphics/tripod/tripod.SlackBuild')
-rw-r--r-- | graphics/tripod/tripod.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/tripod/tripod.SlackBuild b/graphics/tripod/tripod.SlackBuild index 0c8c55bf2dbb0..a004f2f50cd9e 100644 --- a/graphics/tripod/tripod.SlackBuild +++ b/graphics/tripod/tripod.SlackBuild @@ -23,7 +23,7 @@ VERSION=0.7.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -42,14 +42,13 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . # Use patch from svn to prevent from crashing # when the first photo album is created patch -p0 < $CWD/ipodexport.cpp.diff || exit 1 -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |