chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56256bf
)
Make package.sh work for paths containing spaces
author
Martin Wickham
<spexguy070@gmail.com>
Sat, 18 Oct 2014 06:15:22 +0000
(
01:15
-0500)
committer
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Wed, 14 Jan 2015 17:06:32 +0000
(12:06 -0500)
package.sh
patch
|
blob
|
history
diff --git
a/package.sh
b/package.sh
index 65611c1da35ad50b7a704755aaadbada54a989be..eb78dae2bc425d2fff10d313531731d4c15ebf73 100755
(executable)
--- a/
package.sh
+++ b/
package.sh
@@
-88,7
+88,7
@@
fi
# Change working directory to the directory the script is in
# http://stackoverflow.com/a/246128
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-cd
$SCRIPT_DIR
+cd
"$SCRIPT_DIR"
checkTool git "git: http://git-scm.com/"
checkTool curl "curl: http://curl.haxx.se/"