Commit 882401b9 authored by Bernd Schubert's avatar Bernd Schubert

make-deb: Fix a few missing quotes introduced in ealier today

git-svn-id: https://svn.itwm.fhg.de/svn/fsdevel/projects@2138 06d474eb-e7fd-0310-b1d4-fdbe02cb80bc
parent f5f5fb6f
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_OPENTK_PATH=${FHGFS_OPENTK_PATH:-`readlink -f ../../fhgfs_opentk_lib`}
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_OPENTK_PATH=${FHGFS_OPENTK_PATH:-`readlink -f ../../fhgfs_opentk_lib`}
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_OPENTK_PATH=${FHGFS_OPENTK_PATH:-`readlink -f ../../fhgfs_opentk_lib`}
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}.debian${DEBIAN_VERSION}"
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......@@ -18,6 +18,7 @@ RULES="debian/rules"
sed \
-e "s/__NAME__/$NAME/g" \
-e "s/__FHGFS_VERSION__/$FHGFS_VERSION/g" \
-e "s/__DEBIAN_VERSION__/$DEBIAN_VERSION/g" \
${CHANGELOG}.in > ${CHANGELOG}
sed \
......
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_OPENTK_PATH=${FHGFS_OPENTK_PATH:-`readlink -f ../../fhgfs_opentk_lib`}
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......@@ -27,8 +27,8 @@ sed \
-e "s#__FHGFS_COMMON_PATH__#$FHGFS_COMMON_PATH#g" \
-e "s/__FHGFS_VERSION__/$FHGFS_VERSION/g" \
-e "s/__NAME__/$NAME/g" \
-e "s/__USER_CXXFLAGS__/$USER_CXXFLAGS/g" \
-e "s/__USER_LDFLAGS__/$USER_LDFLAGS/g" \
-e "s/__USER_CXXFLAGS__/$USER_CXXFLAGS/g" \
-e "s/__USER_LDFLAGS__/$USER_LDFLAGS/g" \
${RULES}.in > ${RULES}
chmod +x debian/rules
......
......@@ -8,7 +8,7 @@ VER=${VER:-"2011.04"}
RELEASE_STR=${RELEASE_STR:-`date +%F|tr - .`.`date +%T| tr -d :`}
#CODENAME=`lsb_release -c -s`
DEBIAN_VERSION=`lsb_release -r -s | sed -e 's/\..*$//'`
FHGFS_VERSION="${VER}.${RELEASE_STR}
FHGFS_VERSION="${VER}.${RELEASE_STR}"
FHGFS_OPENTK_PATH=${FHGFS_OPENTK_PATH:-`readlink -f ../../fhgfs_opentk_lib`}
FHGFS_COMMON_PATH=${FHGFS_COMMON_PATH:-`readlink -f ../../fhgfs_common`}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment