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 ea088d9 commit d6c1fe0Copy full SHA for d6c1fe0
helpers_bundles.sh
@@ -216,14 +216,14 @@ create_unified_vm_macOS() {
216
# echo ln -s `readlink "$A/$f"` "$O/$f"
217
elif [ ! -f "$A/$f" ]; then
218
echo "$A/$f does not exist; how come?"
219
- elif [ "$f" != *"MainMenu.nib" ] && [ ! -f "$B/$f" ]; then
+ elif [[ ! "$f" =~ ^.*MainMenu.nib$ ]] && [ ! -f "$B/$f" ]; then
220
echo "$B/$f does not exist; how come?"
221
else
222
case `file -b "$A/$f"` in
223
Mach-O*)
224
lipo -create -output "$O/$f" "$A/$f" "$B/$f";;
225
*)
226
- if [ "$f" == *"MainMenu.nib" ] || [ cmp -s "$A/$f" "$B/$f" ]; then
+ if [[ "$f" =~ ^.*MainMenu.nib$ ]] || [ cmp -s "$A/$f" "$B/$f" ]; then
227
cp "$A/$f" "$O/$f"
228
229
echo "EXCLUDING $f because it differs"
0 commit comments