sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: SQOOP-968: Cannot build when in a directory with spaces
Date Mon, 25 Mar 2013 22:48:49 GMT
Updated Branches:
  refs/heads/trunk 7048ca302 -> 7c830c818


SQOOP-968: Cannot build when in a directory with spaces

(Abraham Elmahrek via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/7c830c81
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/7c830c81
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/7c830c81

Branch: refs/heads/trunk
Commit: 7c830c8186aacdfe3a2b9f73ec6a6f35e8e70fc6
Parents: 7048ca3
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Mon Mar 25 15:47:59 2013 -0700
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Mon Mar 25 15:47:59 2013 -0700

----------------------------------------------------------------------
 src/scripts/write-version-info.sh |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/7c830c81/src/scripts/write-version-info.sh
----------------------------------------------------------------------
diff --git a/src/scripts/write-version-info.sh b/src/scripts/write-version-info.sh
index c227fbd..70ce3c7 100755
--- a/src/scripts/write-version-info.sh
+++ b/src/scripts/write-version-info.sh
@@ -30,11 +30,11 @@ buildroot=$1
 version=$2
 specifiedgithash=$3
 
-outputdir=${buildroot}/src/com/cloudera/sqoop
-outputfile=${outputdir}/SqoopVersion.java
+outputdir="${buildroot}/src/com/cloudera/sqoop"
+outputfile="${outputdir}/SqoopVersion.java"
 
-newoutputdir=${buildroot}/src/org/apache/sqoop
-newoutputfile=${newoutputdir}/SqoopVersion.java
+newoutputdir="${buildroot}/src/org/apache/sqoop"
+newoutputfile="${newoutputdir}/SqoopVersion.java"
 
 signature=$specifiedgithash
 if [ -z "$signature" ]; then
@@ -44,8 +44,8 @@ fi
 host=`hostname`
 compiledate=`date`
 
-mkdir -p ${outputdir}
-cat > ${outputfile} <<EOF
+mkdir -p "${outputdir}"
+cat > "${outputfile}" <<EOF
 // generated by src/scripts/write-version-info.sh
 package com.cloudera.sqoop;
 
@@ -69,8 +69,8 @@ public final class SqoopVersion extends org.apache.sqoop.SqoopVersion {
 EOF
 
 
-mkdir -p ${newoutputdir}
-cat > ${newoutputfile} <<EOF
+mkdir -p "${newoutputdir}"
+cat > "${newoutputfile}" <<EOF
 // generated by src/scripts/write-version-info.sh
 package org.apache.sqoop;
 


Mime
View raw message