Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed files with spaces

  • Loading branch information...
commit f3e6c6734c70e6dc0729fc6f8b03f7d42aedc73d 1 parent e771d46
Braden McDorman bmcdorman authored
2  filesystem/ext2/files/usercode/compilers/c
View
@@ -9,7 +9,7 @@ mkdir -p $DIR
echo "Compiling ${1}"
FOLDER="${1%/*}"
-/mnt/kiss/usercode/gcc-usercode "-I${FOLDER}" "${1}" -o $PROG 2>&1
+/mnt/kiss/usercode/gcc-usercode "-I${FOLDER}" "\"${1}\"" -o $PROG 2>&1
if [ -e $PROG ]; then
echo "Compile succeeded."
echo "${1}" > $NAME
2  filesystem/ext2/files/usercode/compilers/cpp
View
@@ -9,7 +9,7 @@ mkdir -p $DIR
echo "Compiling ${1}"
FOLDER="${1%/*}"
-/mnt/kiss/usercode/g++-usercode "-I${FOLDER}" "${1}" -o $PROG 2>&1
+/mnt/kiss/usercode/g++-usercode "-I${FOLDER}" "\"${1}\"" -o $PROG 2>&1
if [ -e $PROG ]; then
echo "Compile succeeded."
echo "${1}" > $NAME
Please sign in to comment.
Something went wrong with that request. Please try again.