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:
36f21bc
)
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
Martin Wickham
<spexguy070@gmail.com>
Sat, 18 Oct 2014 06:15:22 +0000
(
01:15
-0500)
package.sh
patch
|
blob
|
history
diff --git
a/package.sh
b/package.sh
index f4c03c6fc77958410432c332b61063ec92a53eeb..02c413480a82cd568d67ddf318f3c815ad37b387 100755
(executable)
--- a/
package.sh
+++ b/
package.sh
@@
-82,7
+82,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/"