We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8903817 commit 3da262eCopy full SHA for 3da262e
dumpyara.sh
@@ -123,16 +123,17 @@ EXTENSION=$(echo "${INPUT##*.}" | inline-detox)
123
UNZIP_DIR=$(basename ${INPUT/.$EXTENSION/})
124
WORKING=${PWD}/working/${UNZIP_DIR}
125
126
-if [[ -d "${INPUT}" ]]; then
127
- LOGI 'Directory detected. Copying...'
128
- cp -a "${INPUT}" "${WORKING}"
129
-fi
130
-
131
# Delete previously dumped project
132
if [[ -d "${WORKING}" ]]; then
133
rm -rf "${WORKING}"
134
fi
135
+# Copy over directory to 'WORKING'
+if [[ -d "${INPUT}" ]]; then
+ LOGI 'Directory detected. Copying...'
+ cp -a "${INPUT}" "${WORKING}"
+fi
136
+
137
# clone other repo's
138
if [[ -d "${PWD}/Firmware_extractor" ]]; then
139
git -C "${PWD}"/Firmware_extractor pull --recurse-submodules --rebase
0 commit comments