projects
/
GrooveNet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3730348
)
Unset corretly nublette
author
Cameron Ball
<cameron@cameron1729.xyz>
Mon, 8 Apr 2019 17:35:47 +0000
(
01:35
+0800)
committer
Cameron Ball
<cameron@cameron1729.xyz>
Mon, 8 Apr 2019 17:35:47 +0000
(
01:35
+0800)
SongSync.sh
patch
|
blob
|
history
diff --git
a/SongSync.sh
b/SongSync.sh
index
8146e11
..
f5cb9ea
100755
(executable)
--- a/
SongSync.sh
+++ b/
SongSync.sh
@@
-55,7
+55,7
@@
if [ "$1" = "apply" ]; then
if [ "${removes[${path}]}" = "$hash" ]; then
echo "Same hash ($hash) and path ($path) in adds and removes. Ignoring."
- unset removes["$
has
h"]
+ unset removes["$
pat
h"]
continue
fi
@@
-74,7
+74,7
@@
if [ "$1" = "apply" ]; then
if [ -z "${removes[${path}]}" ]; then
if [ "${adds[${path}]}" = "$hash" ]; then
echo "Same hash ($hash) and path ($path) in adds and removes. Ignoring."
- unset adds["$
has
h"]
+ unset adds["$
pat
h"]
continue
fi