Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors when deleting spaces from directory and file names #3

Open
bantaj opened this issue Dec 1, 2016 · 4 comments
Open

errors when deleting spaces from directory and file names #3

bantaj opened this issue Dec 1, 2016 · 4 comments
Assignees
Labels

Comments

@bantaj
Copy link

bantaj commented Dec 1, 2016

I am getting the following errors when trying to run this in Ubuntu. Similar errors being thrown for the next step in the script to modify filenames:

delete space: dir
mv: missing file operand
Try 'mv --help' for more information.
mv: cannot stat 'terprise Applicatio': No such file or directory
mv: cannot stat 's'$'\n''./Compute & Networki': No such file or directory
mv: cannot stat 't & Ma': No such file or directory
mv: cannot stat 't'$'\n''./App Services'$'\n''./O': No such file or directory
mv: cannot stat 'd Workforce'$'\n''./Admi': No such file or directory
mv: cannot stat ' & Security'$'\n''./A': No such file or directory
mv: cannot stat 'alytics'$'\n''./Mobile Services'$'\n''./Storage & Co': No such file or directory
mv: cannot stat 't Delivery'$'\n''./Database'$'\n''./SDKs': No such file or directory
delete "&": dir
./build.sh: 25: ./build.sh: Bad substitution
@kazuhisya
Copy link
Owner

These assumes that /bin/sh is bash , but in ubuntu the default is dash .
This script is not POSIX compliant (this is because I was corner‐cutting in the construction...)

Later I'll fix shebang.

kazuhisya added a commit that referenced this issue Dec 2, 2016
@kazuhisya kazuhisya added the bug label Dec 2, 2016
@kazuhisya kazuhisya self-assigned this Dec 2, 2016
@bantaj
Copy link
Author

bantaj commented Dec 2, 2016

Changing to bash fixed it. Thank you!

One thing I noticed when looking at the resulting images is some might be missing (e.g. AWS API Gateway). Interestingly, I looked in their most recent collection and dont see it there either:

https://media.amazonwebservices.com/AWS-Design/Arch-Center/16.2.22_Update/AWS_Simple_Icons_EPS-SVG_v16.2.22.zip

Here's the one that appears to be missing: http://kinlane-productions.s3.amazonaws.com/api-evangelist-site/blog/aws-api-gateway-icon.png

@kazuhisya
Copy link
Owner

Thank you for letting me know!

ooops, As I confirmed this page , it seems that the URL to latest icon set has changed.
and, the directory in zip seems to have changed. So a little hard fix is needed.

Give me some time to fix it.

kazuhisya added a commit that referenced this issue Dec 9, 2016
@kazuhisya
Copy link
Owner

Hi, @bantaj

Compatible with 16.2.22 (4aa6d16)
Could you please give it a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants